Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Feb 2019 13:45:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 160967] newsyslog(8) is not working
Message-ID:  <bug-160967-227-ZqvoMBFhG2@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-160967-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-160967-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D160967

David Bright <dab@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|bugs@FreeBSD.org            |dab@freebsd.org
                 CC|                            |dab@freebsd.org

--- Comment #2 from David Bright <dab@freebsd.org> ---
I'm not sure what issue is being reported. Is it that after newsyslog is ru=
n:

  # newsyslog -n -v -F /var/log/mpd.log

that it shows a (compressed) rotated file being created:

  Compress all rotated log file(s)...
          gzip /var/log/mpd.log.0
          chmod 600 /var/log/mpd.log.0.gz

Yet when the log directory is listed that rotated file is not shown?

  # ls -la /var/log | grep mpd
  -rw-------   1 root   wheel      87198 23 &#1089;&#1077;&#1085; 20:09 mpd=
.log

If so, this is expected behavior. The -n flag is specified on this invocati=
on,
which causes a "dry run" of newsyslog; it prints what it would do in the
rotation, but doesn't actually do it.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-160967-227-ZqvoMBFhG2>