change retention of logs


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers change retention of logs
# 1  
Old 01-19-2005
Tools change retention of logs

Hello all!

Does any one know what the retention of the messages logs are?
Can you change these, if so. Where?

regards...
//dOzY
# 2  
Old 01-19-2005
What OS and version?

Most do allow moving and restarting new logs - Solaris comes with a script /usr/lib/newsyslog which can be set up in cron to change different log files.
Not knowing which OS you are using, I can only guess that it would also have such a script or way of doing the same.
# 3  
Old 01-19-2005
Sorry about that. This is Solaris 8. And thanks, found newsyslog.


regards...
dOzY
# 4  
Old 12-20-2006
Hello, and for AIX ? Does someone know how to change log retention value ? It maybe express in number of days.

tkz.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

If I ran perl script again,old logs should move with today date and new logs should generate.

Appreciate help for the below issue. Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt.............. 1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies

2. Shell Programming and Scripting

Change the vertical logs to horizontal line

Hi, cat log EPC-SubsId: 3333 EPC-GrIds: RTGHUPA:1:15-11-2013T19:59,22-11-2013T19:59 EPC-GrIds: PrimaXGB_23:10 EPC-SubsId: 4444 EPC-GrIds: RTGHUPB:1:15-11-2013T19:59,22-11-2013T19:59 EPC-SubId: 5555 EPC-GrIds: RTGHUPC:1:15-11-2013T19:59,22-11-2013T19:59 EPC-SubsId: 6666... (1 Reply)
Discussion started by: justbow
1 Replies

3. SCO

How to change raid controller driver ? (hardware change)

Hello I'm trying to virtualize an instance of Sco Unix 5.0.5 in VirtualBox (called VM-A) , but sco I have problems set to launch with the new raid controller . The physical machine has a raid controller adaptec (alad driver) but VirtualBox uses buslogic (blc driver) What ... (3 Replies)
Discussion started by: flako
3 Replies

4. HP-UX

Retention of log data

What is the method to retain log files for 30 days in HP ...? Which files do we need to configure to alter the retention period... **Both HP11iV2 and prev Thank you for your help (0 Replies)
Discussion started by: Anu_1
0 Replies

5. Shell Programming and Scripting

Retention of Variable Value when a script is called by different processes in parallel- Linux 2.6.9

Hi, I have a generic FTP script which will be called by 28 different processes in parallel (through a GUI tool) may or may not be at the exact moment (there could be a delay of about a minute or so). ./FTP.ksh 1 (1 through 28) This script after importing file from remote m/c... (1 Reply)
Discussion started by: dips_ag
1 Replies

6. Shell Programming and Scripting

Grep yesterday logs from weblogic logs

Hi, I am trying to write a script which would go search and get the info from the logs based on yesterday timestamp and write yesterday logs in new file. The log file format is as follows: """"""""""""""""""""""""""... (3 Replies)
Discussion started by: harish.parker
3 Replies

7. UNIX for Dummies Questions & Answers

file permission retention via ftp

Working out of AIX 4.3's . have machine (a) and machine (b) umask on both machines is 'umask 022'. as user root (these are trivial machines hence dummies like me have root access) when i Ftp files from a to b , why is it that I loose the original file permissions. After the ftp I have to chmod... (1 Reply)
Discussion started by: buRst
1 Replies
Login or Register to Ask a Question