Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Ignore logfiles in git, fix logfile name (after project rename)

  • Loading branch information...
commit 8fc42011604fc28a14e8581ce3f7b80e4ec98e20 1 parent c7687d3
Stefan Fochler authored

Showing 3 changed files with 6 additions and 29 deletions. Show diff stats Hide diff stats

  1. +5 1 .gitignore
  2. +0 27 buildjs.log
  3. +1 1  lib/main.js
6 .gitignore
... ... @@ -1,2 +1,6 @@
1 1 node_modules/
2   -.DS_Store
  2 +bobby.log
  3 +.DS_Store
  4 +lib/.DS_Store
  5 +bin/.DS_Store
  6 +test/.DS_Store
27 buildjs.log
... ... @@ -1,27 +0,0 @@
1   -2012-06-19T21:19:57.917Z - info: Start reading files with base directory '/Users/istefo/Documents/nodes/build.js/test'
2   -2012-06-19T21:19:57.918Z - step: Read file 'main.js' and marked as loaded
3   -2012-06-19T21:19:57.918Z - step: Found reference to file 'libs/jquery.js' in main.js:1
4   -2012-06-19T21:19:57.918Z - step: Read file 'libs/jquery.js' and marked as loaded
5   -2012-06-19T21:19:57.918Z - step: Found reference to file 'libs/ember.js' in main.js:2
6   -2012-06-19T21:19:57.919Z - step: Read file 'libs/ember.js' and marked as loaded
7   -2012-06-19T21:19:57.919Z - step: Found reference to file 'libs/jquery.js' in libs/ember.js:1
8   -2012-06-19T21:19:57.919Z - step: Requested file 'libs/jquery.js', but allready loaded
9   -2012-06-19T21:20:16.569Z - info: Start reading files with base directory '/Users/istefo/Documents/nodes/build.js/test'
10   -2012-06-19T21:20:16.570Z - step: Read file 'main.js' and marked as loaded
11   -2012-06-19T21:20:16.570Z - step: Found reference to file 'libs/jquery.js' in main.js:1
12   -2012-06-19T21:20:16.570Z - step: Read file 'libs/jquery.js' and marked as loaded
13   -2012-06-19T21:20:16.571Z - step: Found reference to file 'libs/ember.js' in main.js:2
14   -2012-06-19T21:20:16.571Z - step: Read file 'libs/ember.js' and marked as loaded
15   -2012-06-19T21:20:16.571Z - step: Found reference to file 'libs/jquery.js' in libs/ember.js:1
16   -2012-06-19T21:20:16.571Z - step: Requested file 'libs/jquery.js', but allready loaded
17   -2012-06-21T20:49:35.883Z - info: Start reading files with base directory '/Users/istefo/Documents/nodes/build.js/test'
18   -2012-06-21T20:49:35.884Z - warn: Unable to read file 'libs/jquery.foo'
19   -2012-06-21T20:49:35.887Z - info: Compressed result with UglifyJS (173b -> 28b, 16.18%)
20   -2012-06-21T20:49:41.847Z - info: Start reading files with base directory '/Users/istefo/Documents/nodes/build.js/test'
21   -2012-06-21T20:49:41.849Z - warn: Unable to read file 'libs/jquery.foo'
22   -2012-06-21T20:49:45.584Z - info: Start reading files with base directory '/Users/istefo/Documents/nodes/build.js/test'
23   -2012-06-21T20:49:45.586Z - warn: Unable to read file 'libs/jquery.foo'
24   -2012-06-21T20:49:45.588Z - info: Compressed result with UglifyJS (173b -> 28b, 16.18%)
25   -2012-06-21T20:56:04.272Z - info: Start reading files with base directory '/Users/istefo/Documents/nodes/build.js/test'
26   -2012-06-21T20:56:04.274Z - warn: Unable to read file 'libs/jquery.foo'
27   -2012-06-21T20:56:04.276Z - info: Compressed result with UglifyJS (173b -> 28b, 16.18%)
2  lib/main.js
@@ -42,7 +42,7 @@ winston.addColors(loggingLevels.colors);
42 42 if (argv.o) {
43 43 logger.add(winston.transports.Console, { 'timestamp': false, 'colorize': true, 'level': (argv.v) ? 'step' : 'info' });
44 44 } else {
45   - logger.add(winston.transports.File, { 'filename': 'buildjs.log', json: false, timestamp: true, 'level': (argv.v) ? 'step' : 'info' });
  45 + logger.add(winston.transports.File, { 'filename': 'bobby.log', json: false, timestamp: true, 'level': (argv.v) ? 'step' : 'info' });
46 46 }
47 47
48 48 logger.on('logging', function (transport, level, msg, meta) {

0 comments on commit 8fc4201

Please sign in to comment.
Something went wrong with that request. Please try again.