| Author |
Message |
webcontrol
Joined: 08 Dec 2006 Posts: 2
|
Posted: Fri Dec 08, 2006 11:24 pm Post subject: Logfile |
|
|
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 |
|
 |
TGRMN Software Site Admin
Joined: 10 Jan 2005 Posts: 2835
|
Posted: Fri Dec 08, 2006 11:52 pm Post subject: |
|
|
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 |
|
 |
webcontrol
Joined: 08 Dec 2006 Posts: 2
|
Posted: Sun Dec 10, 2006 12:00 am Post subject: |
|
|
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 |
|
 |
Evaluator 1 Guest
|
Posted: Sun Apr 01, 2007 8:34 pm Post subject: |
|
|
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
|
Posted: Sun Apr 01, 2007 11:09 pm Post subject: |
|
|
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 |
|
 |
Evaluator 1 Guest
|
Posted: Mon Apr 02, 2007 10:33 pm Post subject: |
|
|
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
|
Posted: Tue Apr 03, 2007 9:32 am Post subject: |
|
|
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" |
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 |
|
 |
Evaluator 1 Guest
|
Posted: Wed Apr 04, 2007 4:50 pm Post subject: |
|
|
I tried the <date> variable and it worked!
Thank you very much! |
|
| Back to top |
|
 |
|