[phpOpenTracker-User] Logging additional data
Timo Haberkern <[email protected]>
| Newsgroups | gmane.comp.web.phpopentracker.general |
|---|---|
| Message-ID | <[email protected]> |
Hi list,
i have some problems using phpopentracker with add_datas.
Background: i have a php file which i want to log. In addition to the
standard logging i want to log parameters that where given by url. This
php-file is called many times from the same user, only the url
parameters are changing and i want to log all this changes.
my try:
phpOpenTracker::log(
array (
'document' => "Contact - International",
'add_data' => array(
'language' => $language
)
)
);
But that doesn't work completely. The "normal" loggings are done, but my
additional parameters are not logged. I have take a look to the
sourcecodes and found that the logging runs alwasy in the else branch of
if ($this->container['first_request']) {
in LoggingEngine.php (line 96) and there the add_data will not be written.
Whats going wrong?
rgds
Timo
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf