1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-28 01:05:46 +00:00
Commit Graph

234 Commits

Author SHA1 Message Date
Jia Li Ong
16b5a11484 Merge branch 'master' of https://github.com/jialijelly/beego 2017-06-22 18:55:25 +08:00
Jia Li Ong
547fbce86c Merge branch 'master' of https://github.com/jialijelly/beego 2017-06-22 18:53:29 +08:00
Jia Li Ong
5a2eea07cb Provide permission to access old log files to everyone 2017-06-22 18:51:52 +08:00
Jia Li Ong
0ea34fff27 Provide permission to access old log files to everyone 2017-06-02 10:56:55 +08:00
astaxie
a91e2e9950 add golint check and fix all golints 2017-04-30 22:41:23 +08:00
astaxie
aa8f7bc146 fix ineffectual 2017-04-28 22:36:28 +08:00
astaxie
3e29078f68 add check ineffect and gofmt 2017-04-28 21:38:08 +08:00
Faissal Elamraoui
bf6bd6b292 Fixes #2587
Fixes warnings and errors raised by gometalinter and gosimple.
2017-04-23 19:19:05 +02:00
astaxie
453691728a gofmt simplify 2017-04-20 10:56:09 +08:00
astaxie
405c170d45 Merge pull request #2556 from zjjott/master
fix: log mode should be 0440 should not be 440
2017-04-10 21:14:34 +08:00
zjjott
932019770d fix: log mode 0440 should not be 440 2017-04-10 17:37:55 +08:00
astaxie
ae0a75c464 console debug use diffrent color 2017-03-21 23:55:40 +08:00
astaxie
d956444965 Merge branch 'develop' into add-gosimple 2017-03-18 11:20:30 +08:00
Sergey Lanzman
37c1ffc57a add go simple support 2017-03-17 20:22:20 +02:00
Sergey Lanzman
856fde28dc add unconverted support 2017-03-17 19:45:30 +02:00
洪亮
09c405990c Add Aliyun Logger 2017-01-04 15:53:20 +08:00
astaxie
eba6afd6fb Merge pull request #2307 from CodeJuan/master
set perm of rotated log to 440
2016-12-06 15:10:00 +08:00
codejuan
b788d74fd1 set perm of rotated log to 440 2016-12-06 12:44:00 +08:00
cat2neat
9ff88f0b35 Fix http body may not be closed 2016-11-20 05:16:52 +00:00
yuanxuan
dfa9e03980 fix log func call depth bug 2016-10-09 15:19:21 +08:00
Phil
fcd8a2024e Add jianliao and slack log adapter 2016-09-08 17:21:11 +08:00
Phil
30661472c8 Fix the typo 2016-09-07 13:33:11 +08:00
astaxie
227678c2ef Set SetLogFuncCallDepth default to 4 2016-08-23 23:48:47 +08:00
chenlei106
00e986cd3b log output format improvement
move log level info ahead to filename info, better readability
2016-08-23 16:16:57 +08:00
astaxie
68311b286e gofmt -s -w . 2016-08-17 22:49:30 +08:00
astaxie
bed1d9bd27 update the performance 2016-08-17 22:33:36 +08:00
astaxie
44a57e86dd fix #2090 2016-08-17 22:05:54 +08:00
astaxie
1a52a34544 Merge pull request #2003 from GuyCheung/develop
add os.Chmod when create log file
2016-08-02 09:57:51 +08:00
Faissal Elamraoui
d85293b7c0 Fixed bug and added more tests 2016-07-28 11:37:28 +02:00
Faissal Elamraoui
2b867f8152 Removed external dependency 2016-07-27 17:42:28 +02:00
Faissal Elamraoui
479dfdbd40 added support for Windows terminals 2016-06-24 15:38:18 +02: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
Faissal Elamraoui
844a3b0ffd removed unused import 2016-06-17 17:47:12 +02:00
Faissal Elamraoui
448be6e58c added compatibility for go1.4 2016-06-17 17:39:32 +02:00
Faissal Elamraoui
2bd743fcff Enhanced logging during DEV mode 2016-06-17 15:56:52 +02: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
96a5d09ef0 add format header test 2016-03-30 15:13:01 +08:00
JessonChan
814b673e3c add a comment to the future bug 2016-03-30 14:51:46 +08:00
JessonChan
99436a75b1 format time header 5% faster than before 2016-03-30 14:31:28 +08:00
JessonChan
8e82ed319b beelog bug fixed 2016-03-30 14:31:16 +08:00
astaxie
220cf91180 Merge pull request #1837 from JessonChan/develop
add function of beego/logs
2016-03-29 11:37:09 +08:00
JessonChan
221306fff4 file rotate bug 2016-03-29 10:05:56 +08:00
JessonChan
f05bb2ecd3 add function of beego/logs 2016-03-28 15:18:51 +08:00
JessonChan
45f2390128 logger changed 2016-03-25 15:13:28 +08:00
JessonChan
826f81f479 remove from init method 2016-03-25 15:04:52 +08:00
JessonChan
52a0b657b7 for better performance 2016-03-24 20:27:00 +08:00
JessonChan
f02ff0420d no need to call Sprintf when no args 2016-03-24 20:22:42 +08:00
JessonChan
06299fa47b makes console as default logger 2016-03-24 19:32:29 +08:00
JessonChan
d8bed89c44 set console as default logger 2016-03-24 19:15:14 +08:00
JessonChan
0814eefa62 refactor writeMsg function 2016-03-24 18:21:52 +08:00
JessonChan
8344a60552 add to upper case 2016-03-24 17:49:39 +08:00
JessonChan
0fb4a8af24 function change 2016-03-24 17:46:52 +08:00
JessonChan
a6c1377f91 change to 0 logger 2016-03-24 17:43:45 +08:00
JessonChan
cdfd830f65 rename log format 2016-03-24 17:43:16 +08:00
JessonChan
03840f3fe8 give each of the adapter a neme 2016-03-24 17:38:26 +08:00
JessonChan
2e6a23743b refactor logs package 2016-03-24 17:37:56 +08:00
JessonChan
2b1316c738 data race bug fixed 2016-03-16 18:04:07 +08:00
astaxie
c8bbfb75f0 Merge pull request #1782 from JessonChan/some_wip
BeeLogger can be the writer of  http server's log
2016-03-14 14:47:29 +08:00
JessonChan
c92c3fc8b5 make the BeegoLogger a adapter of http server ErrorLog 2016-03-14 10:21:07 +08:00
astaxie
88816348b9 window console can't output colorful 2016-03-11 15:29:52 +08:00
astaxie
83fe43f331 gofmt -s -w 2016-03-11 13:00:58 +08:00
JessonChan
4801099675 duplicate adapter logger bug fixed 2016-03-11 10:12:17 +08:00
JessonChan
f21cff0166 some typo fixed 2016-03-09 16:00:52 +08:00
JessonChan
b2f071395b rename files to mulitfile 2016-03-08 18:44:39 +08:00
JessonChan
54b5120a64 rename files to mulitfile 2016-03-08 18:43:09 +08:00
JessonChan
3379a2b7ed remove file bug fixed
remove file by filename and file suffix
2016-03-04 10:43:57 +08:00
JessonChan
ca3c57fbc6 add a line of comment 2016-03-01 17:13:50 +08:00
JessonChan
387dd6ec0e add a line of comment 2016-03-01 17:12:21 +08:00
JessonChan
26cc040f9a daily log name dot fixed 2016-03-01 17:00:24 +08:00
JessonChan
9da4d1d847 Merge branch 'develop' into log_enhancement 2016-03-01 13:59:27 +08:00
astaxie
6eaa5537f5 Merge pull request #1652 from JessonChan/develop
colorful console and go fmt
2016-02-26 16:10:11 +08:00
JessonChan
1f716dda3e add test files and bug fixed 2016-02-03 17:54:58 +08:00
JessonChan
f8c4b3aa4c add files logger to separate different logs 2016-02-03 17:11:53 +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
youngsterxyf
2efe7c4c89 merge multi commit 2016-02-02 17:12:47 +08:00
youngsterxyf
c71ac7431d Merge branch 'develop' into logger-flush-close 2016-02-02 17:11:41 +08:00
JessonChan
5dec3d127c colorful console only the terminal supports 2016-02-02 16:37:09 +08:00
youngsterxyf
ecab397073 try to fix the little bug when calling Close or Flush in async mode 2016-01-28 21:53:44 +08:00
Pelle Johnsen
a043432398 Change option name from noColor to color
Still same default behavior (with color)
2016-01-28 07:50:07 +01:00
Pelle Johnsen
7f888e3d18 Add noColor option for console logger
- Also added simple test
2016-01-27 19:20:58 +01:00
youngsterxyf
c59a029ce7 Merge branch 'develop' into config-logic 2016-01-27 10:58:38 +08:00
youngsterxyf
20efd5236e fix bug 2016-01-27 00:42:07 +08:00
JessonChan
e11d150e8b replace \t with space 2016-01-26 09:35:39 +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
0e17e2a3d2 accept @JessonChan suggestion 2016-01-25 20:20:53 +08:00
youngsterxyf
ecf24640fd fix issue #1566 2016-01-23 16:56:54 +08:00
astaxie
9adf20d72e gofmt -s 2016-01-17 23:57:07 +08:00