Commit Graph

54 Commits

Author SHA1 Message Date
Sergey Lanzman 37c1ffc57a add go simple support 2017-03-17 20:22:20 +02:00
codejuan b788d74fd1 set perm of rotated log to 440 2016-12-06 12:44:00 +08:00
GuyCheung 9572fdcf9a update error on type of w.Perm; change unit test perm value 2016-06-22 09:57:16 +08:00
GuyCheung cb3f240f44 add os.Chmod when create log file 2016-06-21 15:52:31 +08:00
nullne 2c12383263 remove attribute perm to make it more brief 2016-05-17 10:29:05 +08:00
nullne d679a4b865 fix bug with file permission in log module 2016-05-14 10:54:09 +08:00
JessonChan b28581a463 make daily rotate 2016-05-06 12:11:14 +08:00
JessonChan fa8d94fa69 file rotate by day test 2016-05-06 12:09:00 +08:00
JessonChan abaa1bbcac file rotate file test 2016-04-13 09:05:16 +08:00
JessonChan 22617aeb13 file rotate name fixed 2016-04-12 15:05:35 +08:00
JessonChan 221306fff4 file rotate bug 2016-03-29 10:05:56 +08:00
JessonChan 03840f3fe8 give each of the adapter a neme 2016-03-24 17:38:26 +08:00
JessonChan 2b1316c738 data race bug fixed 2016-03-16 18:04:07 +08:00
JessonChan 3379a2b7ed remove file bug fixed
remove file by filename and file suffix
2016-03-04 10:43:57 +08:00
JessonChan 26cc040f9a daily log name dot fixed 2016-03-01 17:00:24 +08:00
JessonChan 51b1095e73 add files logger 2016-02-03 16:32:59 +08:00
JessonChan 68cc53e92b when rotate by date ,there's no num after log file 2016-02-03 15:43:15 +08:00
JessonChan 6caa3ecd91 when rotate by date ,there's no num after log file 2016-02-03 15:31:59 +08:00
JessonChan 304a5ccea0 comment fix 2016-02-03 15:06:53 +08:00
JessonChan 9806a43783 make more fast 2016-02-03 15:03:37 +08:00
JessonChan a1cb000701 remove log package 2016-02-03 14:42:38 +08:00
JessonChan f2567bc114 some typo fixed 2016-01-26 09:29:04 +08:00
JessonChan b5a07c6ba8 log file name bug fixed
this bug happens when daily rotate. ex,when it is 2016-01-22 23:59:59 and need a rotate,the file name should named with 2016-01-22 but named with 2016-01-23(next day)
2016-01-26 09:20:49 +08:00
youngsterxyf bcac4bb8e3 accept @JessonChan suggestion 2016-01-25 20:53:25 +08:00
youngsterxyf ecf24640fd fix issue #1566 2016-01-23 16:56:54 +08:00
JessonChan fb5b04506a code refactor and format 2016-01-13 09:24:27 +08:00
JessonChan 7663d50c97 remove the lock writer 2016-01-13 09:21:55 +08:00
JessonChan e1b73b33d0 improve code 2016-01-13 08:21:44 +08:00
JessonChan 164366ae0d return error 2016-01-12 22:33:52 +08:00
JessonChan 2b9d7ff714 remove log package 2016-01-12 22:32:36 +08:00
JessonChan baa2e9d64a code format 2016-01-12 19:44:28 +08:00
JessonChan 5511e03b52 embedding file writer 2016-01-12 19:25:33 +08:00
JessonChan 9507e59c2f camel name fixed 2016-01-12 19:10:08 +08:00
astaxie cb0400dcd4 file add the config for Perm 2015-09-18 12:12:02 +08:00
astaxie 34877c52a9 golint logs 2015-09-11 23:08:24 +08:00
Hubery 59b903d557 set DoRotate fname like xx.2013-01-01.2.log
fix fname,by extension to identify the file type on mac and windows.
2015-07-15 17:00:48 +08:00
fuxiaohei 77c1109134 code simplify for package logs 2015-02-23 11:42:46 +08:00
DeanThompson 6a9d04c269 count log file lines 2014-11-21 18:12:39 +08:00
Francois 59773dfabe Update file.go
New pull request for "Panic sometimes occurs at time 00h00 on windows, then the app crashes."
2014-08-26 06:25:59 +02:00
astaxie a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
Frederic G. MARAND 7d09ac252a Issue #682: convert logs package to RFC5424 logging levels. 2014-07-11 11:15:34 +02:00
astaxie fefd8ddb5b beego: update licence& fix #669 2014-07-03 23:40:21 +08:00
astaxie 0f170a80da update the comments fix #658 2014-06-25 10:39:37 +08:00
astaxie c188cbbcb4 update all files License 2014-05-17 02:26:50 +08:00
astaxie 4245521660 fix #576 2014-05-17 02:26:50 +08:00
astaxie 3f1de576e4 fix go run hello.go & console log 2014-04-04 09:57:51 +08:00
slene f48ca96a7e beego: fix log output when SetLogger has error 2014-04-04 09:57:45 +08:00
asta.xie 9c5ceb70cc Logs: modify StartLogger to private 2014-04-02 23:43:37 +08:00
asta.xie 589f97130c add w.Rotate 2014-03-21 14:33:11 +08:00
FuXiaoHei 94ad13c846 add comments in logs package 2013-12-30 23:32:57 +08:00