03-12-2011
The logs rotate only up to the 4th file. I want to keep 12 instances of the file. I set 'rotate 12' in the stanza for the file.
When I run with -d, the output message summary reports
"(12 rotations)".
I suspect I have some conflicting settings that causes the rotation to fall back to the main setting of 4.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi ,
what is the meaning of log rotate?
how do i rotate /var/adm/wtmps log and gzip it? (6 Replies)
Discussion started by: cromohawk
6 Replies
2. Ubuntu
Hi, i have a logroate script that works properly when running manually but otherwise it won't work.I put in in /etc/logrotate.d/nginx. I simply cannot understand why it won't run properly when run with a cronjob. It suppose to run hourly and rotate logs if they are > 3mb. What am i missing here ?:... (1 Reply)
Discussion started by: ktm
1 Replies
3. 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
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. Programming
Hi,
I am not sure this is the correct section.
My question is not directly about programming about developing IDE.
I am using netbeans to develop my project.
I created a new project from a remote server.
I have set all the details.
One problem is that the server ssl has already expired... (0 Replies)
Discussion started by: programAngel
0 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. HP-UX
I need to rotate a file in HP-UX of a application. I´ve tried to do a task in the cron with a script (with sed and ed commands) but it was a successfully option (the application continued writing the file :( )
LINEAS_OUT=$(wc -l < $RMISTDOUT)
LINEAS_FIN=1,expr $LINEAS_OUT - 100p
sed... (19 Replies)
Discussion started by: werkraft
19 Replies
9. Shell Programming and Scripting
Hi,
I have below script in logrotate.d to rotate logs.
logs are not rotating after the file grow to 1k, do you have any idea? Is it because of it just only 1K?
Please let me know if the below syntax is in correct.
# more trotate
/sourcepath/*/servers/*/logs/*log... (2 Replies)
Discussion started by: lpprasad321
2 Replies
10. UNIX for Dummies Questions & Answers
My problem: Both access and error logs do not rotate any more and get really large.
They are located here: /srv/www/+vHost name here+/logs/
Configuration seems to be here:
/etc/logrotate.conf => looks OK, including "size 10M" to avoid large files
(/etc/logrotate.d => is empty)
manually... (4 Replies)
Discussion started by: floko
4 Replies
LEARN ABOUT SUSE
get_rotation_matrix
get_rotation_matrix(3alleg4) Allegro manual get_rotation_matrix(3alleg4)
NAME
get_rotation_matrix, get_rotation_matrix_f - Constructs X, Y, Z rotation matrices. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void get_rotation_matrix(MATRIX *m, fixed x, fixed y, fixed z);
void get_rotation_matrix_f(MATRIX_f *m, float x, float y, float z);
DESCRIPTION
Constructs a transformation matrix which will rotate points around all three axes by the specified amounts (given in binary, 256 degrees to
a circle format). The direction of rotation can simply be found out with the right-hand rule: Point the dumb of your right hand towards the
origin along the axis of rotation, and the fingers will curl in the positive direction of rotation. E.g. if you rotate around the y axis,
and look at the scene from above, a positive angle will rotate in clockwise direction.
SEE ALSO
apply_matrix(3alleg4), get_transformation_matrix(3alleg4), get_vector_rotation_matrix(3alleg4), get_x_rotate_matrix(3alleg4),
get_y_rotate_matrix(3alleg4), get_z_rotate_matrix(3alleg4), get_align_matrix(3alleg4), ex12bit(3alleg4), exquat(3alleg4), exstars(3alleg4)
Allegro version 4.4.2 get_rotation_matrix(3alleg4)