# gradle-logchopper

> CLI tool to split long gradle debug log by tasks

Latest version **1.1.0** (published 2018-11-13) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install gradle-logchopper
pnpm add gradle-logchopper
yarn add gradle-logchopper
bun add gradle-logchopper
```

Provides the command `logchopper`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2018-11-13 |
| First published | 2018-11-13 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 2.3 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Andrius Semionovas |
| Maintainers | neworldlt |

## Links

- npm: https://www.npmjs.com/package/gradle-logchopper
- Repository: https://github.com/neworld/logchopper
- Homepage: https://github.com/neworld/logchopper#readme
- Issues: https://github.com/neworld/logchopper/issues
- npm.io page: https://npm.io/package/gradle-logchopper

## Dependencies (1)

- [shelljs](https://npm.io/package/shelljs.md) ^0.8.2

## Recent versions

- 1.1.0 (latest) — 2018-11-13

## README

A large project could have more than a couple of hundred tasks and debug log could grow more than 40mb.
It is not an easy task for log viewer or even developer himself.
This tool chops huge gradle debug log into smaller pieces by tasks.

### Usage

```
./gradlew build --debug > hugelog.txt
logchopper -o firewood/ hugelog.txt
```

or you could chop log via pipe:

```
./gradlew build --debug | logchopper
```

Chopped files are prefixed with index and named by task name:
```
...
0361-:app-features:item-ui:generateDebugSources.txt
0362-:application:processGlobalDebugResources.txt
0363-:application:prepareLintJar.txt
0364-:application:generateGlobalDebugSources.txt
0365-:application:compileGlobalDebugNdk.txt
0366-:application:processGlobalDebugJavaRes.txt
0367-:app-model:kaptGenerateStubsDebugKotlin.txt
...
```

### License

```
Copyright 2018 Andrius Semionovas (neworldLT)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```

---
_Source: https://npm.io/package/gradle-logchopper · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
