hi,
As I am unable to find further info on the above topic..was wondering if i could seek some advice here?
If i delete the listener.log will it recreate back? reason for deleting it's because it's accumulating in size :)
thank-u in advance
Printable View
hi,
As I am unable to find further info on the above topic..was wondering if i could seek some advice here?
If i delete the listener.log will it recreate back? reason for deleting it's because it's accumulating in size :)
thank-u in advance
Sure, you can. In case of Windows OS, stop linstener first.
yup ok. But Can't I just delete that file so that it'll recreate itself again like Alert.log ??
The os will not allow it to be deleted as it will be in use when the listener is up, so just
1. stop listener
2. delete/rename file
3. start listener
HTH.
That is the best way to do it because even if you delete the LISTENER.LOG, the file will be recreated only after stopping and starting the listener.Quote:
Originally posted by ggnanaraj
The os will not allow it to be deleted as it will be in use when the listener is up, so just
1. stop listener
2. delete/rename file
3. start listener
HTH.
The best way (IMHO) to do it is to leave the listener up andQuote:
Originally posted by julian
That is the best way to do it because even if you delete the LISTENER.LOG, the file will be recreated only after stopping and starting the listener.
1. stop logging (lsnrctl set log_status off)
2. del/mv file
3. start logging (lsnrctl set log_status on)
Bestest indeed :)Quote:
Originally posted by marist89
The best way (IMHO) to do it is to leave the listener up and
1. stop logging (lsnrctl set log_status off)
2. del/mv file
3. start logging (lsnrctl set log_status on)