04-15-2014
Yes, assuming it still matches the files you
do want to rotate.
But it is just a guess - try it and find out
.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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)
Discussion started by: skmdu
2 Replies
2. UNIX for Advanced & Expert Users
Hi,
I have the following configuration file:
/logs/system/mindundi/* {
rotate 0
daily
missingok
sharedscripts
postrotate
find /logs/system/mindundi/ -name "*log" -mtime +15 -exec /bin/rm -f {} \;
endscript
}
I want to save only... (6 Replies)
Discussion started by: mitchbcn
6 Replies
3. Linux
Hi I am trying to rotate specific log by using logrotate function in unix
I have made following entry in the /etc/logrotate.conf file
/var/log/testlog/debug_log {
daily
rotate 7
create
compress
}
But only issue is that my other logs like /var/log/messages,... (2 Replies)
Discussion started by: SiddhV
2 Replies
4. UNIX for Advanced & Expert Users
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)
Discussion started by: afadaghi
0 Replies
5. Red Hat
Hi All,
Can any one let me me know if i run /usr/sbin/logrotate /etc/logrotate.conf will it read the whole /var/log/messages or it just see the time stamp of message file & then rotate the logs.
Just wants to know is logrotation based on messages file contents or messages file time stamp.
... (1 Reply)
Discussion started by: ajaincv
1 Replies
6. Shell Programming and Scripting
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)
Discussion started by: VSom007
5 Replies
7. AIX
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
8. AIX
Hey Admins,
I have installed logrotate on AIX server. I want to configure it for
1. /var/log/messages – keep 90 days, i.e., weekly rotate 13
2. Syslog – keep 90 days i.e., weekly rotate 13
3. Wtmp – keep 90 days i.e., weekly rotate 13
4. Sulog – keep 90 days i.e., weekly rotate 13
What... (1 Reply)
Discussion started by: snchaudhari2
1 Replies
9. Shell Programming and Scripting
Hi, I have a problem with logrotate at Centos 7.
My logrotate is configured with "rotate 0" to Apache logs, so it should never keep logs when rotating, just removing them and replacing by new empty ones at every rotation. But for some reason, once in a while, I see that logrotate is creating... (0 Replies)
Discussion started by: dado000
0 Replies
10. UNIX for Dummies Questions & Answers
Hello All,
OS: SLES 11.3 x86_64
Should I be using the sharedscripts config command for my logrotate configuration, given the info below?
I made it so the server sending the log data will do Syslog pushes of 3 types of logs to my SLES server, and all 3 logs will be written into the same... (3 Replies)
Discussion started by: mrm5102
3 Replies
LEARN ABOUT SUSE
glutspaceballrotatefunc
glutSpaceballRotateFunc(3GLUT) GLUT glutSpaceballRotateFunc(3GLUT)
NAME
glutSpaceballRotateFunc - sets the Spaceball rotation callback for the current window.
SYNTAX
void glutSpaceballRotateFunc(void (*func)(int x, int y, int z));
ARGUMENTS
func The new spaceball rotate callback function.
DESCRIPTION
glutSpaceballRotateFunc sets the Spaceball rotate callback for the current window. The Spaceball rotate callback for a window is called
when the window has Spaceball input focus (normally, when the mouse is in the window) and the user generates Spaceball rotations. The x, y,
and z callback parameters indicate the rotation along the X, Y, and Z axes. The callback parameters are normalized to be within the range
of -1800 to 1800 inclusive.
Registering a Spaceball rotate callback when a Spaceball device is not available is ineffectual and not an error. In this case, no Space-
ball rotate callbacks will be generated.
Passing NULL to glutSpaceballRotateFunc disables the generation of Spaceball rotate callbacks. When a new window is created, no Spaceball
rotate callback is initially registered.
SEE ALSO
glutSpaceballMotionFunc, glutSpaceballButtonFunc, glutMotionFunc, glutTabletMotionFunc, glutJoystickFunc, glutDeviceGet
AUTHOR
Mark J. Kilgard (mjk@nvidia.com)
GLUT
3.7 glutSpaceballRotateFunc(3GLUT)