Permalink
Browse files

Add test/corpus/*.log files (accidentally excluded) so that test suit…

…e works
  • Loading branch information...
1 parent 7931359 commit 7e90e07865124ef67ba52e6c83dfa67cb4d6d816 @trentm committed Jun 6, 2012
Showing with 27 additions and 2 deletions.
  1. +1 −1 .gitignore
  2. +2 −1 CHANGES.md
  3. +20 −0 test/corpus/all.log
  4. +2 −0 test/corpus/bogus.log
  5. +1 −0 test/corpus/extrafield.log
  6. +1 −0 test/corpus/simple.log
View
@@ -1,4 +1,4 @@
/tmp
-/npm-debug.log
/node_modules
*.log
+!/test/corpus/*.log
View
@@ -2,7 +2,8 @@
## bunyan 0.8.1 (not yet released)
-(nothing yet)
+- Add test/corpus/*.log files (accidentally excluded) so that test suite
+ works(!).
## bunyan 0.8.0
View
@@ -0,0 +1,20 @@
+# levels
+{"name":"myservice","pid":123,"hostname":"example.com","level":10,"msg":"My message","time":"2012-02-08T22:56:50.856Z","v":0}
+{"name":"myservice","pid":123,"hostname":"example.com","level":20,"msg":"My message","time":"2012-02-08T22:56:51.856Z","v":0}
+{"name":"myservice","pid":123,"hostname":"example.com","level":30,"msg":"My message","time":"2012-02-08T22:56:52.856Z","v":0}
+{"name":"myservice","pid":123,"hostname":"example.com","level":40,"msg":"My message","time":"2012-02-08T22:56:53.856Z","v":0}
+{"name":"myservice","pid":123,"hostname":"example.com","level":50,"msg":"My message","time":"2012-02-08T22:56:54.856Z","v":0}
+{"name":"myservice","pid":123,"hostname":"example.com","level":55,"msg":"My message","time":"2012-02-08T22:56:55.856Z","v":0}
+{"name":"myservice","pid":123,"hostname":"example.com","level":60,"msg":"My message","time":"2012-02-08T22:56:56.856Z","v":0}
+
+# extra fields
+{"name":"myservice","pid":123,"hostname":"example.com","level":30,"one":"short","msg":"My message","time":"2012-02-08T22:56:52.856Z","v":0}
+{"name":"myservice","pid":123,"hostname":"example.com","level":30,"two":"short with space","msg":"My message","time":"2012-02-08T22:56:52.856Z","v":0}
+{"name":"myservice","pid":123,"hostname":"example.com","level":30,"three":"multi\nline","msg":"My message","time":"2012-02-08T22:56:52.856Z","v":0}
+{"name":"myservice","pid":123,"hostname":"example.com","level":30,"four":"over 50 chars long long long long long long long long long","msg":"My message","time":"2012-02-08T22:56:52.856Z","v":0}
+{"name":"myservice","pid":123,"hostname":"example.com","level":30,"five":{"a": "json object"},"msg":"My message","time":"2012-02-08T22:56:52.856Z","v":0}
+{"name":"myservice","pid":123,"hostname":"example.com","level":30,"six":["a", "json", "array"],"msg":"My message","time":"2012-02-08T22:56:52.856Z","v":0}
+
+# bogus
+not a JSON line
+{"hi": "there"}
View
@@ -0,0 +1,2 @@
+not a JSON line
+{"hi": "there"}
@@ -0,0 +1 @@
+{"name":"myservice","pid":123,"hostname":"example.com","level":30,"extra":"field","msg":"My message","time":"2012-02-08T22:56:52.856Z","v":0}
View
@@ -0,0 +1 @@
+{"name":"myservice","pid":123,"hostname":"example.com","level":30,"msg":"My message","time":"2012-02-08T22:56:52.856Z","v":0}

0 comments on commit 7e90e07

Please sign in to comment.