Giter Club home page Giter Club logo

cwtail's People

Contributors

ankon avatar hoonoh avatar jthomerson avatar kennu avatar renovate-bot avatar sterwill avatar tonsho avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cwtail's Issues

Allow for AWS_REGION env var

I'm not sure why your code is reading the ~/.aws/config ini file and trying to ascertain the region from there. The SDK will automatically determine the region based on a series of fallbacks. I have deployments in multiple regions, and I can't use cwtail in multiple regions without having different profiles just for the sake of having a different region value.

Could you remove lines 169-180 and just allow the SDK to do its own automatic region detection?

Wildcard Tail?

Excellent tool!

In elastic beanstalk apps, there are usually several log streams, and sometimes it's useful to tail all of them at once.

For example:

/aws/elasticbeanstalk/appname/var/log/eb-activity.log
/aws/elasticbeanstalk/appname/var/log/httpd/access_log
/aws/elasticbeanstalk/appname/var/log/httpd/error_log

In this case, it would be adventageous to be able to tail with a syntax like:

cwtail -f /aws/elasticbeanstalk/appname/*

Just a suggestion. Wish I could help implement it myself, but I am still very unfamiliar with Node. Will jump in as I learn more though, if I'm able.

Maintainer?

I just submitted a PR that refactored a lot and rewrote some #15. I use (my fork of) cwtail all over and wanted to see if you'd be interested in a maintainer?

TypeError: Cannot promisify an API that has normal methods with 'Async'-suffix

Installed with npm install -g cwtail

When running cwtail -l I get:

TypeError: Cannot promisify an API that has normal methods with 'Async'-suffix

    See http://goo.gl/MqrFmX

    at checkValid (C:\Users\arik\AppData\Roaming\npm\node_modules\cwtail\node_modules\bluebird\js\release\promisify.js:54:27)
    at promisifiableMethods (C:\Users\arik\AppData\Roaming\npm\node_modules\cwtail\node_modules\bluebird\js\release\promisify.js:77:5)
    at promisifyAll (C:\Users\arik\AppData\Roaming\npm\node_modules\cwtail\node_modules\bluebird\js\release\promisify.js:241:9)
    at Function.Promise.promisifyAll (C:\Users\arik\AppData\Roaming\npm\node_modules\cwtail\node_modules\bluebird\js\release\promisify.js:311:12)
    at C:\Users\arik\AppData\Roaming\npm\node_modules\cwtail\index.js:192:13
    at tryCatcher (C:\Users\arik\AppData\Roaming\npm\node_modules\cwtail\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (C:\Users\arik\AppData\Roaming\npm\node_modules\cwtail\node_modules\bluebird\js\release\promise.js:512:31)
    at Promise._settlePromise (C:\Users\arik\AppData\Roaming\npm\node_modules\cwtail\node_modules\bluebird\js\release\promise.js:569:18)
    at Promise._settlePromiseCtx (C:\Users\arik\AppData\Roaming\npm\node_modules\cwtail\node_modules\bluebird\js\release\promise.js:606:10)
    at _drainQueueStep (C:\Users\arik\AppData\Roaming\npm\node_modules\cwtail\node_modules\bluebird\js\release\async.js:142:12)
    at _drainQueue (C:\Users\arik\AppData\Roaming\npm\node_modules\cwtail\node_modules\bluebird\js\release\async.js:131:9)
    at Async._drainQueues (C:\Users\arik\AppData\Roaming\npm\node_modules\cwtail\node_modules\bluebird\js\release\async.js:147:5)
    at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\arik\AppData\Roaming\npm\node_modules\cwtail\node_modules\bluebird\js\release\async.js:17:14)
    at runCallback (timers.js:800:20)
    at tryOnImmediate (timers.js:762:5)
    at processImmediate [as _immediateCallback] (timers.js:733:5)

Looks like some kind of a (version) incompatibility with the bluebird module. Any idea how to resolve?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.