Red Gate forums :: View topic - What are Base Deployment Logs?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Monitor 2
SQL Monitor 2 forum

What are Base Deployment Logs?

Search in SQL Monitor 2 forum
Post new topic   Reply to topic
Jump to:  
Author Message
webrunner



Joined: 19 Apr 2011
Posts: 13

PostPosted: Mon Apr 16, 2012 5:22 pm    Post subject: What are Base Deployment Logs? Reply with quote

Hello all,

I have 800+ MB of files in my SQL Monitor 2 installation named
Base Deployment yyyymmdd.log (where yyyymmdd is the date pattern for the file naming)

Are these files necessary beyond a certain age? Do they correspond at all with the data purging settings?

Also, if they are needed, is there a way to copy them and reconfigure SQL Monitor 2 to put them somewhere else?

Thanks in advance for any help.

- webrunner
Back to top
View user's profile Send private message
Chris Spencer



Joined: 29 Aug 2006
Posts: 301
Location: Red Gate - Cambridge

PostPosted: Tue Apr 17, 2012 4:18 pm    Post subject: Reply with quote

Hi

These files are not essential to the running of SQL Monitor and thus can be deleted. They contain logging information that could potentially be useful if SQL Monitor stops working. Even then we would probably be interested in only the most recent files.

Because we use Log4Net logging it might be possible to modify the "RedGate.Response.Engine.Alerting.Base.Service.exe.logging.config" file found at "C:\Program Files\Red Gate\SQL Monitor 3\BaseMonitor" in order to change the way our logging works. There's a section that starts with <appender name="RollingFile"... that has several settings relevant to the maximum size and number of old log files kept. If you wish to edit this it's probably a good idea to make a copy of the original first.
The following Apache documentation has examples under the RollingFileAppender section:
http://logging.apache.org/log4net/release/config-examples.html

Alternatively you can manually delete any old log files as required.

Regards
Chris
_________________
Chris Spencer
Test Engineer
Red Gate
Back to top
View user's profile Send private message
webrunner



Joined: 19 Apr 2011
Posts: 13

PostPosted: Tue Apr 17, 2012 4:49 pm    Post subject: Reply with quote

Hi Chris,

Thank you so much for your reply. For now I think I will just archive the files and delete them from the server, but I appreciate your advice regarding the configuration settings as well.

Best regards,
webrunner
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group