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...

Tagged:
peregrine

Comments

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

    The back line is the

    /r/n
    

    Codes, correct?

    Prepare to create a bug report on github please

    peregrine
  • 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.

    change


    to


    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.

    UnderDogPamela
Sign In or Register to comment.