Hi there,
I want to rotate the logfiles which are located in /var/log/jboss/tomcat*
so I have created a file named as 'tomat' in /etc/logrotate.d/tomcat with the following content.
# cat /etc/logrotate.d/tomcat
/var/log/jboss/tomcat_access_log*.log {
daily
nocreate
... (2 Replies)
Hi,
I have written a script that runs every five minutes in cron schedular. The Operating system is Fedora core 9. This script generates 2 log files, these log file size is increasing as some log data is being dumped into these 2 log files every five minutes. I need to logrotate these 2 files.... (1 Reply)
Hello Experts,
I have an apache 2.2.17 on solaris 10 that I am not sure if I, could list the following in the global settings in httpd.conf. I tested it in the Virtual host section of httpd.conf and, it works but, not sure if I can do it in the global settings.
Any help would be greatly... (0 Replies)
I am familiar with using tar and exclude/include files:
tar zcf backup.dirs.tgz --files-from=include.mydirs --exclude-from=exclude.mydirs --no-recursion
but was wondering if I could use find in the same way. I know that you can just specify the directories to exclude but my list is... (2 Replies)
Hi,
Yesterday I installed and configured logrotate on my Debian machine. I was expecting this to run at 06:25 in the morning and it actually did. All my old logs were compressed and zipped but the new logs were all with size equal to 0 bytes. Processes, while still running ok, they were not... (2 Replies)
Hello all,
I am working on a perl script which will read weblogic logfile and send the error messages to Zenoss Monitoring tool. At present the script works and it can able to send the error messages to Zenoss. The problem comes when the logrotate has been applied to the weblogic log file. At... (3 Replies)
I am having a requirement to rotate the my application logs dailay as it is keep on writiing to single file and below is the logrotate function which I am using,
cat /apps/bmc/bmtm/QPasa_logrotate.conf
/apps/bmc/bmtm/all_events.log /apps/bmc/bmtm/history_association.log {
missingok
... (1 Reply)
I have written script which is working in Home directory perfectly and also compressing log files and rotating correctly. But, when i try to run script for /var/log/ i am able to get compressed log files but not able to get rotation of compressed log files. Please suggest.
I am using below command... (5 Replies)
Hi Admins.
I have installed logrotate rpm on Aix 6.1.
After the installation of rpm, I don't find /etc/logrotate.conf file and /etc/logrotate.d dir .
The config file is located in /opt/freeware/etc/logrotate.conf.
When I ran
logrotate -v /opt/freeware/etc/logrotate.conf
I get below... (2 Replies)
Discussion started by: snchaudhari2
2 Replies
LEARN ABOUT FREEBSD
logl
LOG(3) BSD Library Functions Manual LOG(3)NAME
log, logf, logl, log10, log10f, log10l, log2, log2f, log2l, log1p, log1pf, log1pl -- logarithm functions
LIBRARY
Math Library (libm, -lm)
SYNOPSIS
#include <math.h>
double
log(double x);
float
logf(float x);
long double
logl(long double x);
double
log10(double x);
float
log10f(float x);
long double
log10l(long double x);
double
log2(double x);
float
log2f(float x);
long double
log2l(long double x);
double
log1p(double x);
float
log1pf(float x);
long double
log1pl(long double x);
DESCRIPTION
The log(), logf(), and logl() functions compute the natural logarithm of x.
The log10(), log10f(), and log10l() functions compute the logarithm base 10 of x, while log2(), log2f(), and log2l() compute the logarithm
base 2 of x.
The log1p(), log1pf(), and log1pl() functions compute the natural logarithm of 1 + x. Computing the natural logarithm as log1p(x) is more
accurate than computing it as log(1 + x) when x is close to zero.
RETURN VALUES
These functions return the requested logarithm; the logarithm of 1 is +0. An attempt to take the logarithm of +-0 results in a divide-by-
zero exception, and -infinity is returned. Otherwise, attempting to take the logarithm of a negative number results in an invalid exception
and a return value of NaN.
SEE ALSO exp(3), ilogb(3), math(3), pow(3)STANDARDS
The log(), logf(), logl(), log10(), log10f(), log10l(), log2(), log2f(), log2l(), log1p(), log1pf(), and log1pl() functions conform to
ISO/IEC 9899:1999 (``ISO C99'').
BSD June 3, 2013 BSD