Skip to content

Commit

Permalink
verion reset
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-gohri committed Apr 26, 2018
1 parent 5e1ed37 commit ab3512d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions lib/logger.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ const rfs = require('rotating-file-stream');

let logStream;

function initLogStream(logDir = '/smartprix/logs/server_logs/pm2') {
function initLogStream(logDir = '~/.pm2/pm2-ci/logs') {
if (!logStream) {
logStream = rfs('pm2-githook2.log', {
logStream = rfs('pm2-ci.log', {
interval: '1d',
maxFiles: 10,
path: logDir,
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pm2-ci",
"version": "3.0.0",
"version": "1.0.0",
"description": "A PM2 module to run tests, deploy, send slack notifications on github webhooks",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit ab3512d

Please sign in to comment.