Wrong log files names for 1.2.5 #13

Closed
LINALIN1979 opened this Issue Nov 17, 2012 · 2 comments

Comments

Projects
None yet
2 participants
@LINALIN1979

Here is my log.conf:

[global]
strict init = true
reload conf period = 0
buffer min = 1024
buffer max = 2MB
rotate lock file = /tmp/zlog.lock
default format = "%D %-5V [%p:%f:%L] %m%n"

[formats]
simple = "%m%n"
normal = "%D %m%n"

[rules]
*.INFO >stdout ; normal
worker.DEBUG "worker-%H-%d(%F).log", 10MB * 10 ~ "worker-%H-%d(%F).#r.log" ;
client.DEBUG "client-%H-%d(%F).log", 10MB * 10 ~ "client-%H-%d(%F).#r.log" ;
dispatcher.DEBUG "dispatcher-%H-%d(%F).log", 10MB * 10 ~ "dispatcher-%H-%d(%F).#r.log" ;

For 1.2.3, the output log files are

dispatcher-pj-VirtualBox-2012-11-17.log
dispatcher-pj-VirtualBox-2012-11-17.0.log
dispatcher-pj-VirtualBox-2012-11-17.1.log
dispatcher-pj-VirtualBox-2012-11-17.2.log

But for 1.2.5, the output becomes

dispatcher-pj-VirtualBox-2012-11-17.log
dispatcher-pj-VirtualBox-.0.log
dispatcher-pj-VirtualBox-.1.log
dispatcher-pj-VirtualBox-.2.log

@LINALIN1979 LINALIN1979 reopened this Nov 17, 2012

@HardySimpson

This comment has been minimized.

Show comment Hide comment
@HardySimpson

HardySimpson Nov 19, 2012

Owner

Fix it in 1.2.6.
https://github.com/downloads/HardySimpson/zlog/zlog-latest-stable.tar.gz

I forget to check whether time cache is warmed up.
Thanks for point it out !

Owner

HardySimpson commented Nov 19, 2012

Fix it in 1.2.6.
https://github.com/downloads/HardySimpson/zlog/zlog-latest-stable.tar.gz

I forget to check whether time cache is warmed up.
Thanks for point it out !

@HardySimpson

This comment has been minimized.

Show comment Hide comment
@HardySimpson

HardySimpson Nov 19, 2012

Owner

The 1.2.6 about 2 hours ago is not quite correct also... just update it....
The 1.2.6 now will be right, which git version is 3fd32d9, you can see it in release.h

Owner

HardySimpson commented Nov 19, 2012

The 1.2.6 about 2 hours ago is not quite correct also... just update it....
The 1.2.6 now will be right, which git version is 3fd32d9, you can see it in release.h

hy0kl pushed a commit to hy0kl/zlog that referenced this issue Jun 10, 2015

hy0kl pushed a commit to hy0kl/zlog that referenced this issue Jun 10, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment