Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Logging File #510

Closed
davidalexander opened this issue Apr 17, 2014 · 2 comments
Closed

Custom Logging File #510

davidalexander opened this issue Apr 17, 2014 · 2 comments
Assignees

Comments

@davidalexander
Copy link

It would be very useful for debugging if Turpentine could log files to a custom log file rather than the standard var/log/system.log. Filtering though var/log/system.log for Turpentine specific logs can be quite time consuming.

The core Mage::log supports a third parameter $file which could be used for this.

// app/Mage.php ln.785
public static function log($message, $level = null, $file = '', $forceLog = false)
@eth8505
Copy link
Contributor

eth8505 commented Apr 17, 2014

+1, sounds like a plan. Grepping through the system.log for turpentine entries can be rather annoying at times. I would recommend adding two settings for this, a selectbox to specify if a custom logfile should be used or not, and another one that a logfile name can be entered into, if the custom logfile is enabled.

eth8505 pushed a commit to eth8505/magento-turpentine that referenced this issue May 6, 2014
eth8505 pushed a commit to eth8505/magento-turpentine that referenced this issue May 6, 2014
@eth8505 eth8505 mentioned this issue May 6, 2014
@miguelbalparda miguelbalparda self-assigned this Jun 25, 2015
@miguelbalparda
Copy link
Contributor

Thank you for the contribution guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants