Commit Graph

78 Commits (b8cfd4605f685ce63a5d551c5c929df5c0e49081)

Author SHA1 Message Date
zeripath 8eefe2af45
Empty log queue on flush and close (#19994) 2 years ago
wxiaoguang 730420b6b3
Only set CanColorStdout / CanColorStderr to true if the stdout/stderr is a terminal (#19581) 3 years ago
zeripath c88547ce71
Add Goroutine stack inspector to admin/monitor (#19207) 3 years ago
zeripath 70628bd870
Add auto logging of goroutine pid label (#19212) 3 years ago
singuliere 49cab2b01f
migrations: add test for importing pull requests in gitea uploader (#18752) 3 years ago
6543 54e9ee37a7
format with gofumpt (#18184) 3 years ago
wxiaoguang 5bf8d5445e
Refactor Router Logger (#17308) 3 years ago
Gusted ff2fd08228
Simplify parameter types (#18006) 3 years ago
zeripath 147e42239f
Stop printing 03d after escaped characters in logs (#18030) 3 years ago
wxiaoguang 750a8465f5
A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
Eng Zer Jun f2e7d5477f
refactor: move from io/ioutil to io and os package (#17109) 3 years ago
Lunny Xiao 9f31f3aa8a
Add an abstract json layout to make it's easier to change json library (#16528) 3 years ago
zeripath 49bd9a1111
Fix race in log (#16490) 3 years ago
zeripath 33a8eec33e
Retry rename on lock induced failures (#16435) 3 years ago
luzpaz e0296b6a6d
Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
KN4CK3R 3607f79d78
Fixed assert statements. (#16089) 4 years ago
zeripath f0e15250b9
Migrate to use jsoniter instead of encoding/json (#14841) 4 years ago
Lunny Xiao 0cd87d64ff
Update docs and comments to remove macaron (#14491) 4 years ago
Lunny Xiao a1c9e8f266
Fix windows build error (#14263) 4 years ago
zeripath 47dd1cb7ae
Refactor Logger (#13294) 4 years ago
kolaente 64133126cd
Update golangci-lint to version 1.31.0 (#13102) 4 years ago
zeripath 74bd9691c6
Re-attempt to delete temporary upload if the file is locked by another process (#12447) 4 years ago
zeripath d25f44285a
Fix double-indirection bug in logging IDs (#12294) 4 years ago
zeripath c5b08f6d5a
Pause, Resume, Release&Reopen, Add and Remove Logging from command line (#11777) 4 years ago
Lars Lehtonen 0754ceca5b
modules/log: remove noop written variables (#10182) 5 years ago
zeripath 95a57394af Log: Ensure FLAGS=none is -1 (#9287) 5 years ago
Mura Li eec997d30a Fix data race (#8204) 5 years ago
Christian Muehlhaeuser 54d96c79b5 Removed unnecessary conversions (#7557) 5 years ago
kolaente f9ec2f89f2 Add golangci (#6418) 6 years ago
zeripath 356854fc5f Move serv hook functionality & drop GitLogger (#6993) 6 years ago
Lunny Xiao 8b36f01f45 Move xorm logger bridge from log to models so that log module could be a standalone package (#6944) 6 years ago
Lunny Xiao 6123840745 Remove macaron dependent on modules/log (#6933) 6 years ago
zeripath c0fc6cd9a8 rotate unusual logs and stop stacktracing (#6935) 6 years ago
zeripath be666b03ee Trace Logging on Permission Denied & ColorFormat (#6618) 6 years ago
zeripath 5422f23ed8 Quieter Integration Tests (#6513) 6 years ago
zeripath 704da08fdc
Better logging (#6038) (#6095) 6 years ago
zeripath f286a5abb4 Allow Macaron to be set to log through to gitea.log (#5667) 6 years ago
Lauris BH 8f8ff5a295
Remove maxlines option for file logger (#5282) 6 years ago
Ethan Koenig 4cb9394a97 Fix lint errors (#2547) 7 years ago
Mura Li b746757209 Remove unused mutex field (#1440) 8 years ago
Mura Li 93c25c9a35 Fix races in the log module by using syncmap (#1421) 8 years ago
Ethan Koenig 021904e4e6 Fix typos in models/ and modules/ (#1248) 8 years ago
Lunny Xiao d6748284bd fix panic when push but the only log mode console is disabled by serv and update commands (#1007) 8 years ago
Lunny Xiao 04fdeb9d8d Make Xorm log configurable (#174) 8 years ago
Gabriel Jackson bf6f61cc69 Cleanup log messaging 8 years ago
willemvd 8c2c7b802f Remove the default console logger when it is not set in the configuration (#602) 8 years ago
Bwko 4ff0db0246 Catch os... errors 8 years ago
Lunny Xiao 3228544c31 golint fixed for modules/log 8 years ago
Sandro Santilli 864d1b1f9f Fix type in unused constant name (#111) 8 years ago
Unknwon 194a742fb9 #2798 fix assign operation not take effect 9 years ago