Please make sure you have the following two lines in the conf/log4perl.conf 
file:

log4perl.logger  = INFO,logFile

log4perl.appender.logFile.filename = /absolute/path/to/your/logfile

The lines are actually there, you just need to uncomment them and set the 
correct path to a logfile.

After this please restart apache.

Hope this helps,
Junjun

PS: be aware that with this setting logfile size grows faster, you should turn 
it off once debug/dev is done.



> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of Joachim Baran
> Sent: Thursday, January 14, 2010 2:14 PM
> To: [email protected]
> Subject: Re: [mart-dev] Enabling Count/Results buttons
> 
> Hello,
> 
> I am now hijacking the 'Results' button for my purposes and 
> eventually I would like to set some filters programmatically 
> rather than through MartView.
> 
> Even though Web.pm is rather complex, I think I have grasped 
> the function of $session->param(...) now. Unfortunately, I am 
> not quite sure how I would set a filter that way, since I do 
> not know the exact parameters to the function. In order to 
> get a deeper in-sight on what is going on, I tried to 
> activate all the logging code which appears in the Perl 
> module, but I have trouble finding the corresponding 
> log-file. I grepped for 'Showing in browser' -- a phrase that 
> should be in the log-file -- without any luck.
> 
> I suspect that I have not really turned logging on. Is 
> logging being activated by setting 'mode' and 'log_query' to 
> ON in settings.conf?
> 
> Thanks,
> Joachim
> 
> --
> B.1079 Michael Smith Building
> Faculty of Life Sciences
> The University of Manchester
> Oxford Road
> Manchester
> M13 9PT
> United Kingdom
> 

Reply via email to