Giter Club home page Giter Club logo

crashplan-logs's People

Contributors

samuelbolduc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

crashplan-logs's Issues

Time shown is 0 UTC when my location is -6 UTC

Love this script, thanks!

My output time is -6 hours from my local time zone and I would like it to match the crashplan logs (time it actually took place).

Seems like I need to adjust this code somehow?
const parsedDate = moment.utc(${date} ${time}, 'MM/DD/YY hh:mma').local();

Error thrown - utils.js:

I was super excited to find this and get it installed on my Synology NAS which is running a linux Crashplan client. After successfully running npm, I get this error during execute:

npm i -g crashplan-logs
/usr/local/bin/crashplan-logs -> /usr/local/lib/node_modules/crashplan-logs/app.js

crashplan-logs /volume1/docker/crashplan/config/log
Reading and parsing logfile...
internal/fs/utils.js:230
throw err;
^

Error: EISDIR: illegal operation on a directory, read
at Object.readSync (fs.js:524:3)
at tryReadSync (fs.js:349:20)
at Object.readFileSync (fs.js:386:19)
at Object. (/usr/local/lib/node_modules/crashplan-logs/app.js:56:17)
at Module._compile (internal/modules/cjs/loader.js:1133:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
at Module.load (internal/modules/cjs/loader.js:977:32)
at Function.Module._load (internal/modules/cjs/loader.js:877:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
at internal/main/run_main_module.js:18:47 {
errno: -21,
syscall: 'read',
code: 'EISDIR'
}

Any help resolving is greatly appreciated.

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.