Skip to content

Commit

Permalink
Remove debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ruudk authored Feb 6, 2019
1 parent 8c9c4f1 commit 084f7a1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions logger/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -575,9 +575,7 @@ func (cl *CompositeLogger) ClearAllLogFile() error {
func NewLogger(programName string, logFile string, locker sync.Locker, maxBytes int64, backups int, logEventEmitter LogEventEmitter) Logger {
files := splitLogFile(logFile)
loggers := make([]Logger, 0)
fmt.Printf("before split:%s\n", logFile)
for i, f := range files {
fmt.Printf("logFile:-%s-\n", f)
var lr Logger
if i == 0 {
lr = createLogger(programName, f, locker, maxBytes, backups, logEventEmitter)
Expand Down

0 comments on commit 084f7a1

Please sign in to comment.