How to enable Application Log

Hi All,

I have incorporated the below code in config.ini.php file and install log viewer too but i am not able to see any application log. do you know hat am I doing wrong here?

[log]
	log_writers[] = file
	
[log]
; Possible values are "screen" (default value), "file" and "database" (logs to tables logger_*)
log_writers[] = file
; Possible values are ERROR, WARN, INFO, DEBUG
log_level = WARN
; if configured to log to file, log entries will be written to this file
logger_file_path = tmp/logs/piwik.log

Hi,

Is it possible that you have the log_writers[] = file twice?

Can you try it again with only this part:

[log]
; Possible values are "screen" (default value), "file" and "database" (logs to tables logger_*)
log_writers[] = file
; Possible values are ERROR, WARN, INFO, DEBUG
log_level = WARN
; if configured to log to file, log entries will be written to this file
logger_file_path = tmp/logs/piwik.log