Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Path for storing logs
08-25-2018, 02:06 PM
Post: #1
Path for storing logs
How to give Path to log files: in SystemParameters.php, I have given companies/weberpdemo/ this path. Please suggest
Find all posts by this user
Quote this message in a reply
08-25-2018, 05:30 PM (This post was last modified: 08-25-2018 05:48 PM by falkoner.)
Post: #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
Visit this user's website Find all posts by this user
Quote this message in a reply
08-29-2018, 11:49 AM
Post: #3
RE: Path for storing logs
Thanks for the report Michelle, and the Tim for the fix.

Change committed to the bug fix branch.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)