Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexploded archiving only archives the first logfile #131

Open
jonsyu1 opened this issue Oct 3, 2016 · 0 comments
Open

Unexploded archiving only archives the first logfile #131

jonsyu1 opened this issue Oct 3, 2016 · 0 comments

Comments

@jonsyu1
Copy link
Contributor

jonsyu1 commented Oct 3, 2016

Repro steps:
Configure seelog with archiveexploded = "false". Here's mine: <rollingfile formatid="ourlogStdout" type="date" filename="./var/log/axiom.log" datepattern="2006-01-02_03:04:05" archivetype="gzip" maxrolls="1" archivepath="./var/log/axiom.log.tgz" archiveexploded="false"/>
Run logger for a few minutes

Expected: archive includes more files over time

Actual: only original file is included in archive

/V/g/g/s/g/d/s/v/log ❯❯❯ ll
total 24
-rw-r--r--  1 jyu  admin   230B Oct  3 11:20 axiom.log
-rw-r--r--  1 jyu  admin   230B Oct  3 11:19 axiom.log.2016-10-03_11:19:56
-rw-r--r--  1 jyu  admin   1.4K Oct  3 11:16 axiom.log.tgz
/V/g/g/s/g/d/s/v/log ❯❯❯ tar -tzf axiom.log.tgz
var/log/axiom.log.2016-10-03_11:16:21
/V/g/g/s/g/d/s/v/log ❯❯❯ ll
total 24
-rw-r--r--  1 jyu  admin   230B Oct  3 11:20 axiom.log
-rw-r--r--  1 jyu  admin   1.0K Oct  3 11:20 axiom.log.2016-10-03_11:20:08
-rw-r--r--  1 jyu  admin   1.4K Oct  3 11:16 axiom.log.tgz
/V/g/g/s/g/d/s/v/log ❯❯❯ tar -tzf axiom.log.tgz
var/log/axiom.log.2016-10-03_11:16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant