Wilders Security Forums  

Go Back   Wilders Security Forums > Official ESET Support Forum > ESET Home Users Products Forum > Other ESET Home Products
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread
  #1  
Old February 6th, 2012, 12:52 PM
acenrs12379 acenrs12379 is offline
Infrequent Poster
 
Join Date: Feb 2012
Location: United States
Posts: 1
Default Log files location and management

Hi everyone,

My first post here. I've been reading these forums for years now, and they've always been a great source of help and reference, but it's finally time to jump in and join the party! This time I need some assistance, but I hope to be able to offer assistance down the road as well.

Simply put, how does one change the location of the logs created by the various program modules? Is it as simple as changing the "AppDataDir" value in the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\ESET\ESET Security\CurrentVersion\Info" to point to the desired directory and restarting the server? Is there a way to change the location and migrate existing log files gracefully (without stopping ESET services, manually moving the directory, changing the registry key, and restarting the services)? Specifically, I would like to do this on my installation of ESET Mail Security, but I imagine the same procedure could be used for Smart Security, Antivirus, and others. I am currently running version 4.3.10016.0. This seems like such a simple task - dare I say even one that could be taken care of during the initial installation wizard - but I can find it documented anywhere. In provisioning my latest server, I created a dedicated partition for ESET logs, and so far it is sitting unused.

Also, is there any way to make ESET logs VSS-aware, a la Exchange transaction logs, so that I can automatically have them truncated upon successful backup? It seems that I can either keep them small/short, or delete them if they start growing, but deleting them requires parsing the entire log in the integrated log viewer, which can become a lengthy and intensive process as the logs get larger. This is probably a long shot, since the logs are stored in individual database files (warnlog.dat, virlog.dat, etc.) and I'm guessing the database engine and/or log format might need to be different.

Thanks for any and all insight in advance!

Dan
  #2  
Old February 15th, 2012, 09:21 AM
SmackyTheFrog SmackyTheFrog is offline
Frequent Poster
 
Join Date: Nov 2007
Location: Lansing, Michigan
Posts: 767
Default Re: Log files location and management

You could always replace the folder the logs are being kept in with an NTFS mount point to the new volume you created for the logs. You wouldn't need to mess around with the application config and the change would be transparent to the software. You're going to need downtime on the service to do this, but I don't see a way around that at the moment.

I'm not personally running mail security so I'm extrapolating off my experience with other products, but generally I think you should be leaving the out of box defaults as much as you can. Those registry keys are monitored and locked by the self-defense feature so you'll be fighting that, and from what I can tell only the root of the applications working folder is specified so changing that registry value will repoint not just your logs but update data, application configuration profiles, and the installer package cache.

As for log cleanup, look in the advanced setup for the individual product. There are options to prune out log entries that are older than so many days/months automatically which should help you curb growth.
 

Wilders Security Forums > Official ESET Support Forum > ESET Home Users Products Forum > Other ESET Home Products « Previous Thread | Next Thread »

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Settings
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 06:43 PM.


Powered by vBulletin® Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2002 - 2013, Wilders Security Forums