Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Log file without back line?

PamelaPamela ✭✭
edited November 2013 in Vanilla 2.0 - 2.8

Newbie question about Vanilla log file

I enabled it like this (config.php)

$Configuration['Garden']['Errors']['LogEnabled'] = TRUE; $Configuration['Garden']['Errors']['LogFile'] = 'log.txt';

but in this generated file, there aren't back line :( I don't know if it's "normal" but it's not very useful in fact... no easy way to add it ?

Really not the most important feature to fix but ;) voila...



  • Are you on linux or Windows? Vanilla 2.1 beta?

    The back line is the


    Codes, correct?

    Prepare to create a bug report on github please

  • peregrineperegrine MVP
    edited November 2013

    @pamela @todd

    here's a fix to functions.error.php in vanilla 2.1b2

    edit : I added Underdogs idea of \n . I wonder if PHP_EOL is a better alternative - haven't tried it.



    output will change from this type of format of LogExceptions

    to LogExceptions with each message grouping followed by ---- and each trace on a new line

    @pamela - if you want to file on github and reference a potential fix, if they want to use it.

    I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.

Sign In or Register to comment.