Code Monkey home page Code Monkey logo

newsyslog's People

Contributors

robohack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

newsyslog's Issues

Strange owner issue for the first compressed log

Hello,

I'm experiencing a strange owner issue for rotated and archived logs. For some reason newsyslog keeps the first compressed log owned by root:root:

# ls -lh
total 284K
-rw-r--r--    1 nginx    root         113 Jun  1 04:17 access.log
-rw-r--r--    1 nginx    root        1.3K Jun  1 04:17 access.log.0
-rw-r--r--    1 root     root         203 Jun  1 04:17 access.log.1.gz
-rw-r--r--    1 nginx    root         355 Jun  1 04:14 access.log.2.gz
-rw-r--r--    1 nginx    root         312 Jun  1 04:11 access.log.3.gz
-rw-r--r--    1 nginx    root         375 Jun  1 04:07 access.log.4.gz
-rw-r--r--    1 nginx    root      148.7K Jun  1 04:04 access.log.5.gz
-rw-r--r--    1 nginx    root         113 Jun  1 04:17 access.ssl.log
-rw-r--r--    1 nginx    root        1.2K Jun  1 04:17 access.ssl.log.0
-rw-r--r--    1 root     root         333 Jun  1 04:17 access.ssl.log.1.gz
-rw-r--r--    1 nginx    root         509 Jun  1 04:14 access.ssl.log.2.gz
-rw-r--r--    1 nginx    root         273 Jun  1 04:11 access.ssl.log.3.gz
-rw-r--r--    1 nginx    root       86.7K Jun  1 04:04 access.ssl.log.4.gz

Relevant /etc/newsyslog.conf:

/var/log/nginx.mirror/access.log      nginx:root  644  31 *    D0     DZ0    /run/nginx/nginx.pid  USR1
/var/log/nginx.mirror/access.ssl.log  nginx:root  644  31 *    D0     DZ0    /run/nginx/nginx.pid  USR1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.