• Resolved Imagemroesele

    (@mroesele)


    Your plugin assumes that every log file entry is in UTC, see line 360, class-debug-log.php
    I’ve added another line to also list entries in Timezone Europe/Berlin as well. Maybe you’ll need to figure out a way to respect any possible time zone

    $line                   = str_replace( "UTC]", "UTC]@@@", $line ); // add '@@@' as marker/separator after time stamp
    $line = str_replace( "Europe/Berlin]", "Europe/Berlin]@@@", $line ); // add '@@@' as marker/separator after time stamp
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author ImageBowo

    (@qriouslad)

    @mroesele thanks for reporting this. How does one go about changing the timezone recorded in the debug log? I’ve never seen a WP constant to do something like that. Virtually every debug log file I’ve seen so far across various hosting/server/WP environments is in UTC.

    Thread Starter Imagemroesele

    (@mroesele)

    I have no idea but the entries in that log file that I’m currently working on is mixed UTC and Berlin Time and only by coincidence I found out the plugin is not displaying an important part of the log.

    Image

    Off topic but may I add one feature request? It would be great if it was possible to order by number of occurences not only by “last occurence”.

    Plugin Author ImageBowo

    (@qriouslad)

    @mroesele Thanks for the additional info. I’ve just released v2.3.6 with compatibility for log entries in timezones other than UTC, including Europe/Berlin. Please test on your end.

    • This reply was modified 12 months ago by ImageBowo.
    Thread Starter Imagemroesele

    (@mroesele)

    works perfectly fine, thank you!

    Plugin Author ImageBowo

    (@qriouslad)

    @mroesele great to hear that! Thanks again for bringing this issue to my attention.

    If you find DLM useful for your dev workflow, please kindly consider leaving a quick review for it at https://wordpress.org/plugins/debug-log-manager/#reviews. Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Not working with log file entries in other time zone than UTC’ is closed to new replies.