Logging

Software-based VM-centric and flash-friendly VM storage + free version

Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)

Locked
Stig Vidar Hovland

Wed Sep 08, 2004 7:24 am

Is it possible to turn of logging to files completely. With loglevel=0, Starwind still write errors and it sometimes amount to 20MB pr. day.
Val (staff)
Posts: 496
Joined: Tue Jun 29, 2004 8:38 pm

Wed Sep 08, 2004 10:40 am

Stig Vidar Hovland wrote:Is it possible to turn of logging to files completely. With loglevel=0, Starwind still write errors and it sometimes amount to 20MB pr. day.
Hi,

There are 2 type of logs in the StarWind package:

1) StarWind GUI's log (usually StarWindGUI.log) - you can easily disable it using StarWind GUI -> Preferences -> Logging property dialog page.

2) StarWind Service's log (a new file is created on each start of the service in StarWind\Logs subdirectory)
You can edit you StarWind.conf to change settings of this log.
Open the file StarWind.conf with Notepad (or any text editor you like) and change the parameter LogLevel=1 to LogLevel=0.
After restarting of the service it will write to the log only its start-up banner.
Best regards,
Valeriy
Guest

Wed Sep 08, 2004 11:24 am

valery (staff) wrote:
Stig Vidar Hovland wrote:Is it possible to turn of logging to files completely. With loglevel=0, Starwind still write errors and it sometimes amount to 20MB pr. day.
Hi,

There are 2 type of logs in the StarWind package:

1) StarWind GUI's log (usually StarWindGUI.log) - you can easily disable it using StarWind GUI -> Preferences -> Logging property dialog page.

2) StarWind Service's log (a new file is created on each start of the service in StarWind\Logs subdirectory)
You can edit you StarWind.conf to change settings of this log.
Open the file StarWind.conf with Notepad (or any text editor you like) and change the parameter LogLevel=1 to LogLevel=0.
After restarting of the service it will write to the log only its start-up banner.
I have set LogLevel=0 in starwind.conf, but errors are still logged. Here is an example of what gets logged:

ImageFile[4d8] *ERROR* List_RefreshVolumes: Cannot open the volume '\\.\C:'.
20:28:23:673 (872) SPTI: '\\.\Physicaldrive1': DeviceIoControl failed: Incorrect function. (code: 1).
20:28:23:683 (872) SPTI: '\\.\Physicaldrive1': IOCTL_SCSI_PASS_THROUGH_DIRECT (before):
0000 2c 00 00 00 00 00 0c 12 01 00 00 00 10 00 00 00 ,...............
0010 e0 a5 01 00 08 42 0a 00 2c 00 00 00 a0 00 00 00 ðå...B..,...à...
0020 00 00 00 00 00 10 00 00 00 00 00 00 00 00 00 00 ................



An explanation of why this is logged at a rate of several megabytes pr. day could also be useful.
Val (staff)
Posts: 496
Joined: Tue Jun 29, 2004 8:38 pm

Wed Sep 08, 2004 11:43 am

Anonymous wrote:I have set LogLevel=0 in starwind.conf, but errors are still logged. Here is an example of what gets logged:
......
An explanation of why this is logged at a rate of several megabytes pr. day could also be useful.
Please, set following parameters in your StarWind.conf and try once more after restarting the service.
LogLevel = "0"
LogMask = "0xC000ffff"

Also please send me your current StarWind.conf.

Do you share you second hard drive with StarWind?
Have you any USB Storage device attached to your PC (like a card reader, etc) ?
Best regards,
Valeriy
Locked