@mattab opened this Issue on March 26th 2009 Member

I configured the logging to be sent to files
instead of the screen. But the archiving process could'nt handle this. It
came up with with this error, another piwik user already had:


The underlying problem is not to chmod tmp/logs/logger_message and other
log-files to 777 or something; The logging script seems to use a wrong
relative path to the log-files at all; Cause it is called by a cronjob or by
hand from a position anywhere in the filesystem, supposable the logger script
trys to open a tmp/logs-path and file relativ to this position in the
filesystem and not relativ to the piwik base path.

The fastest and simplest workaround for me was it to just change the [path]
log variable in the global.ini to an absolute path.

@mattab commented on March 26th 2009 Member

(In [1032]) - fixes #633 When specifying logging messages/errors/exceptions to a file in piwik config, the archiving breaks as path is invalid

This Issue was closed on March 26th 2009
Powered by GitHub Issue Mirror