Forum Index  ViceVersa HOME         FAQ and Knowledge Base

 FAQForum FAQ   SearchSearch Forum  RegisterRegister 
 ProfileProfile   Log inLog in 

Logfile

 
Post new topic   Reply to topic     Forum Index -> Wish List
Author Message
webcontrol



Joined: 08 Dec 2006
Posts: 2

PostPosted: Fri Dec 08, 2006 11:24 pm    Post subject: Logfile Reply with quote

Hello,

we use vvpro2 an vvengine on a couple of servers. For maintanance tasks our sysadmin has to review the logs from time to time. On a busy server the log grows fast and either viewing as well as searching in the log is a pain with large logs. It would be great to have logfile rotation for each day. The result would be a logfile for each day and small sizes. An additional feature to autodelete logs after a specific period of days would be helpfull aswell if a daily rotation feature is implemented.

Kind regards

Michael
Back to top
View user's profile Send private message
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 2835

PostPosted: Fri Dec 08, 2006 11:52 pm    Post subject: Reply with quote

Hi! try using the custom variables for the log file path, for instance try:
"C:\Documents and Settings\All Users\Application Data\ViceVersa PRO 2\log<dayofweek>.log"
which will expand to a different log file name each day of week.
The custom variables are listed in the help file.
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
View user's profile Send private message Send e-mail
webcontrol



Joined: 08 Dec 2006
Posts: 2

PostPosted: Sun Dec 10, 2006 12:00 am    Post subject: Reply with quote

You ROCK! That did the trick. Thank you for the fast reply and your wonderfull software. Cant remember the live before vvpro2 and vvengine.

Kind regards

Michael
Back to top
View user's profile Send private message
Evaluator 1
Guest





PostPosted: Sun Apr 01, 2007 8:34 pm    Post subject: Reply with quote

I'm evaluating VVPro v2012. I tried that command line you suggested to create daily log files. However, it still creates a log file called log1.log instead of one with the date in it.

Do I need VVEngine to make it work?
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 2835

PostPosted: Sun Apr 01, 2007 11:09 pm    Post subject: Reply with quote

Hi, VVEngine is not needed for this.
But the log file specified in the profile file takes priority over the command line. You will need to use the variable in the profile.
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
View user's profile Send private message Send e-mail
Evaluator 1
Guest





PostPosted: Mon Apr 02, 2007 10:33 pm    Post subject: Reply with quote

Thank you for the answer. I had opened the "Change Profile Settings" area. In the file location I had tried:

"D:\VVPro\Logs\log<dayofweek>.log"

When I attempt to click on the browse button to go to the file location, I get an invalid path error. When I save the profile, then perform and Compare and Execute, I get a log file called:

"log<dayofweek>.log", not one called "log040206.log"

Thanks again!
Back to top
TGRMN Software
Site Admin


Joined: 10 Jan 2005
Posts: 2835

PostPosted: Tue Apr 03, 2007 9:32 am    Post subject: Reply with quote

Hi

Quote:
When I attempt to click on the browse button to go to the file location, I get an invalid path error.


This is normal because in the profile settings VV does not know yet when you are running the profile (which day of the week)

Quote:
When I save the profile, then perform and Compare and Execute, I get a log file called:
"log<dayofweek>.log", not one called "log040206.log"


Confused I tired and it works OK for me; the file would be log3.log (day of week = 3 for today) If you want the date in the log file a name, please use log<date>.log
_________________
--
TGRMN Software Support
http://www.tgrmn.com
http://www.compareandmerge.com
Back to top
View user's profile Send private message Send e-mail
Evaluator 1
Guest





PostPosted: Wed Apr 04, 2007 4:50 pm    Post subject: Reply with quote

I tried the <date> variable and it worked!


Thank you very much!
Back to top
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Wish List All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can 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 © phpBB Group
Copyright © TGRMN Software. TGRMN Software products: