Incorrect Log File Locations
Posted by: warmsunshine (---.Red-88-25-41.staticIP.rima-tde.net)
Date: July 10, 2010 09:32AM

When I click on log files, in Wampserver - for example, "Apache Error Log", I get "file not found"

This is presumably because Wampmanager.ini has the line
Type: item; Caption: "Apache error log"; Glyph: 6; Action: run; FileName: "notepad.exe"; parameters:"c:/wamp/E:/wamp/logs/apache_error.log"

The log is at c:/wamp/logs/apache_error.log, not c:/wamp/E:/wamp/logs/apache_error.log

But if I change Wampmanager.ini, it is overwritten when I start Wampserver.

Where can I change the log file locations?

Pete

Options: ReplyQuote
Re: Incorrect Log File Locations
Posted by: warmsunshine (---.Red-88-25-41.staticIP.rima-tde.net)
Date: July 10, 2010 10:30AM

Found it...

config.inc.php - in my case, C:\wamp\scripts\config.inc.php

The line (in my case, line 10)
$logDir = 'logs/';

Now, I just need to see if I can change the default editor from notepad to UltraEdit

Options: ReplyQuote
Re: Incorrect Log File Locations
Posted by: warmsunshine (---.Red-88-25-41.staticIP.rima-tde.net)
Date: July 10, 2010 10:48AM

Despite a rather complicated method seen elsewhere on this forum to change the default log editor, when it is called from the Wampserver menu, I found that I simply needed to replace "notepad.exe" with "Uedit32.exe" in the file wampmanager.tpl, which in my setup is C:\wamp\wampmanager.tpl

Options: ReplyQuote


Sorry, only registered users may post in this forum.