Displaying 20 results from an estimated 6000 matches similar to: "Is it possible to store the log file by day?"
2013 May 21
4
Asterisk Log rotate not working
Hi,
Last year, I installed Asterisk 10.4.2 and enabled logrotate on daily basis
which was working perfect. Now in couple of months back, the logrotate
feature is not working at all but simply appending the logs in 'messages'
file. Listing down down the configuration for logrotate below;
/var/log/asterisk/messages {
missingok
rotate 5
daily
postrotate
/usr/sbin/asterisk -rx 'logger
2008 Jul 08
1
CONSOLE logging
Hello,
I'm trying to enable CONSOLE logging in Asterisk 1.4.14 on a 2.6.18
Debian Lenny server.
It is enabled in logger.conf, however no log file is created in
/var/log/asterisk/
Also I was wondering if I manage to get it working and use logrotate
daemon as well, is logrotate going to restart the asterisk process each
time in order to rotate the log file?
Thank you.
2006 Oct 01
7
Log rotation
Hi mongrel-herders,
I''m just wondering what fellow railsers use to rotate their logs in an
orderly fashion? I''d like to do something lightweight, i.e. (1) rename the
logfile (2, optional) create a new empty logfile and (3) send a signal to
each mongrel in the cluster and have them understand it''s time to reopen
their log file handles. This is what I do with apache and
2020 Jun 10
9
RFC: Adding support for the z/OS platform to LLVM and clang
As part of IBM’s ongoing efforts to improve the z/OS ecosystem, our
current plans involve adding support for the z/OS platform to LLVM and
Clang. Our goal is to have a viable C and C++ LLVM compiler and runtime
library that generates code for, and runs on z/OS.
Long term, we expect to have a compiler and library that supports the
platform more fully. We intend to support the native character
2005 Jun 30
5
Logrotate
I created some scripts to logrotate. I am having a problem. After I do
it, I am sending kill -HUP to the process
its not using the newly created messages file again. Could someone help
me out with how I can rotate asterisk's
log's without killing the process?
..o-------------------------------------------------------o.
Brian Fertig
NOC/Network Engineer
Planet Telecom, Inc.
Tampa, FL
2006 Apr 09
2
Boxplot using Formula
I am trying to use the formula interface for the boxplot.
Currently running R 2.2.1 on Windows XP.
The problem is that boxplot is displaying groups that are empty in the
plot.
The following example demonstrates what it is happening (though my actual
situation is a little more complicated):
> data<-data.frame(values=c(1:25),
2005 Sep 11
5
rotate * log file?
Running fc3 with current cvs-head...
Is there a nice way to rotate the /var/log/asterisk/messages file without
shutting down asterisk?
I'm currently rotating the log files via cron, however my script requires
asterisk to be shut down, which also kills any outstanding cli sessions
(eg, asterisk -rvvvvv). Would like to rotate the files without killing
the cli session. Any reasonable way to
2007 Jan 08
2
SV: Manage 'full' log file
Thanks for the quick response!
I read about logrotate at voip-info.org but I didn't quite understand it. I'm no asterisk/linux expert unfortunately.
First of all. What exactly does happen when I run:
/usr/sbin/asterisk -rx 'logger rotate'
Does it clear the file and create a new one? Can I run this manually without any interruption in the system?
And what does the script do? I
2004 Jul 30
4
Trouble authenticating clients from ADS domain on Samba 3.0.5 file server
I'm so close I can feel it :-)
I'm having a problem connecting users to their home directories. Under "My
Network Places" on XP clients I can see my Samba file server ("Hobbes")
just fine. When I double click on it to open it, I get a login/password
prompt that I can't bypass even though I try logins/passwords that exist
on the ADS server and/or the UNIX accounts.
2009 Nov 09
3
Sort logfiles at rotation time
Hi,
I want to be certain that my apache and varnish logfiles are in strict
date order when rotated. I'd like to run a sort command against them
before they're compressed.
I've had a look at the logrotate man page, and it looks like I can use
a postrotate/endscript to do this. However, I can see any reference
in the documentation for how to operate on the file. All the examples
2019 Mar 14
2
Dovecot logrotation - old journal files are still in use
<div xmlns="http://www.w3.org/1999/xhtml">Hi all</div><div xmlns="http://www.w3.org/1999/xhtml"> </div><div xmlns="http://www.w3.org/1999/xhtml">Cannot understand, does it a bug or just a misconfiguration. In my Dovecot there are 3 files of logging (debug, info and .log)</div><div
2007 Aug 30
2
asterisk at 100% CPU, 1000's of log files
Hi All,
Twice now in the past few weeks I've walked into the office to find that
our 1.2.24 Asterisk process is sat at 100%, and that hundreds of
thousands of log files in /var/log/asterisk exist, all at 312 bytes,
containing:
Aug 29 23:22:17 VERBOSE[24303] logger.c: Asterisk Event Logger restarted
Aug 29 23:22:17 VERBOSE[24303] logger.c: Asterisk Queue Logger restarted
Aug 29 23:22:17
2005 Oct 04
2
Joining Dataframes
I am attempting to join several dataframes that summarize sampling effort
for different samples into one large data.frame/table.
I have looked at the merge command, but have not been clever enough to
figure out how to get it to do what I want.
A simplified example of what I am trying to do:
The dataframes I have look like this (they were generated using the table
command)
species1.effort
2007 Jan 08
2
Manage 'full' log file
Hi,
I need some help on how to manage the "full" log file. It's getting
quite large now and I'd like to clear it. Is there any simple command
for this or should I just delete the file (need to be sure this won't
affect the system).
Also - how do I keep the log file from growing so large?
Thanks!
Regards,
Jan
2020 Oct 02
2
[RFC] Adding a char set converter to Support library
Hi!
On z/OS, there is the need to convert strings from EBCDIC to UTF-8 and
vice versa.
Using the POSIX iconv functions has some challenges, so I created a small
wrapper
around this functionality to get the same result on all platforms. This
functionality
is required for reading and writing GOFF object files and can also be used
in the
frontend.
I put up the code on Phabricator
2020 May 20
1
rotatestrategy = none not working
Hello,
We have an Asterisk 11.3 server where we want log rotation handled purely
by Linux's logrotate, and not by Asterisk. To this end we've configured the
[general] action of /etc/asterisk/logger.conf with:
rotatestrategy = none
However, an "asterisk -rx 'logger reload'" still rotates the log files.
Does anyone know why?
Thank you in advance,
--
David Cunningham,
2007 Sep 05
2
invalid probe specifier nge::entry: "/usr/lib/dtrace/procfs.d"
I recently did a backport of a couple of networking bug fixes from s10x_u4_b6 to s10x_u3_b10. I patched just /platform/i86pc/kernel/unix and /platform/i86pc/kernel/amd64/unix in my existing u3 OS image and I''m seeing this dtrace problem when running any dtrace script:
NODE hcb101 ~ $ ./tcpstat.sh
dtrace: failed to compile script /dev/fd/10: "/usr/lib/dtrace/procfs.d", line
2006 Feb 09
6
asterisk logger - urgent!!!
Hi,
Since yesterday my Asterisk 1.2.3 is displaying the following message every few seconds
>Asterisk Event Logger restarted
>Rotated Logs Per SIGXFSZ (Exceeded file size limit)
This causes my log files (verbose, queue_log) to become huge with lots of logger rotate messages, but I don't know which files is exceeding size limit, since even if I delete all log files I still get this
2014 Mar 04
2
Pipe into logger duplicates messages in /var/log/messages
I am trying to pipe the output from a process into syslog using the logger
command. Initially I pipe the output into a separate file, but as it
happens
this filled up the disk when things went wrong. So I figured I redirect the
output to syslog and let logrotate deal with the roll-over and archive
of the
file.
However the following command :
echo "HI" > logger -t test
Resulted in
2010 Dec 02
1
rotate of logfiles
Hello list.
This is not a life-threatening question, but still quite important for
debugging.
I have the following crontab :
15 0,8,12,17 * * * /usr/sbin/asterisk -rx 'logger rotate'
Because I have debug level 9, logfiles get quite large.
I notice that the rotation of the logfiles goes to plan, except at 17h15.
I currently have :
-rw-r--r-- 1 root root 59024 Dec 2 09:36