Re: URGENT: DRAIN LOG FILES
Posted in 1999
On Wed, Apr 28, 1999 at 03:37:31PM +0200, Esperanza wrote:
> How can I drain logfiles in IDS 7.3 NT? I am developing so I don't need to
> save data, I just want to clean the log. I can do it by executing ontape -a
> and if LTAPEDEV and TAPEDEV are set to NULL, but I don't know how exactly I
> must do it: Have tried:
> TAPEDEV \\\\null
> LTAPEDEV \\\\null> or
> TAPEDEV null
> LTAPEDEV null
I'm not sure about this since I didn't work with IDS on NT but
have you tried to set the LTAPEDEV to NUL ?
>
> but when I execute ontape -a I receive the following:
> Please, mount tape 1 on \\\\null and press RETURN...
> Logbackup failed - function open tape device \\\\null failed code -1 errno 2
>
> Another question :how can assign more log files and larger? By default I
> always obtain 10 of 500 Kb, although I set LOGFILES and LOGSIZE to different
> values and restart the server.
>
To add a logical log use:
onparams -a ...
command.
Best Regards,
Octav
--
Octav Chiriac Phone: (373) 2 21 20 96
NetInfo S.R.L. Fax: (373) 2 21 36 59
Chisinau (373) 2 24 00 83
Moldova, Republic of mailto:com@netinfo-moldova.com