Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Path for storing logs
08-25-2018, 02:06 PM,
#1
Path for storing logs
How to give Path to log files: in SystemParameters.php, I have given companies/weberpdemo/ this path. Please suggest
Reply
08-25-2018, 05:30 PM, (This post was last modified: 08-25-2018, 05:48 PM by TimSchofield.)
#2
RE: Path for storing logs
(08-25-2018, 02:06 PM)Michelle Wrote: How to give Path to log files: in SystemParameters.php, I have given companies/weberpdemo/ this path. Please suggest

It looks like when the code for messages was moved from includes/MiscFunctions.php to includes/footer.php that the log file is no longer opened. You need to add this code before line 5 in includes/footer.php:
PHP Code:
    if (isset($_SESSION['LogSeverity']) and $_SESSION['LogSeverity'] > 0) {
        
$LogFile fopen($_SESSION['LogPath'] . '/weberp.log''a');
    } 

and it should work.

Tim
Reply
08-29-2018, 11:49 AM,
#3
RE: Path for storing logs
Thanks for the report Michelle, and the Tim for the fix.

Change committed to the bug fix branch.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)