Home » Logging » Log » Bug #7205
log time should not be affected by localization
Details
| Submitted | 2006-03-26 19:43 UTC |
|---|---|
| From | riccardo at datahost dot it |
| Assigned | jon |
| Status | Wont fix |
| Package | Log |
| PHP Version | Irrelevant |
| OS | linux |
| Roadmaps | (Not assigned) |
Comments
[2006-03-26 19:43 UTC] riccardo at datahost dot it
Description:
------------
Hello,
The time in the logs is affected by locale changes, i think this is a problem because we can generate incoherent logs. I think that the time should be system one and not the localized one.
I think that (for the file backend) the problem is here, from Log/file.php, line 301:
$line = sprintf($this->_lineFormat, strftime($this->_timeFormat),
$this->_ident, $this->priorityToString($priority),
$message) . $this->_eol;
You can find original bugreport here:
http://trac.seagullproject.org/ticket/1
Sorry for my english, thanks in advance.