Skip to content

Disable debug output to debug.log #4362

Closed
@viktor-zhuromskyy

Description

@viktor-zhuromskyy

Can't figure out how to disable debug output to debug.log for things like cache invalidation, etc. In production mode this information is not necessary to log.

[2016-05-01 02:17:20] main.DEBUG: cache_invalidate: {"method":"GET","url":"https://endohaus.com/checkout/cart/","invalidateInfo":{"tags":["rewards_purchase"],"mode":"matchingAnyTag"},"is_exception":false} [] [2016-05-01 02:17:20] main.DEBUG: cache_invalidate: {"method":"GET","url":"https://endohaus.com/checkout/cart/","invalidateInfo":{"tags":["rewards_purchase_55","rewards_purchase"],"mode":"matchingAnyTag"},"is_exception":false} [] [2016-05-01 02:17:20] main.DEBUG: cache_invalidate: {"method":"GET","url":"https://endohaus.com/checkout/cart/","invalidateInfo":{"tags":["rewards_purchase_55","rewards_purchase"],"mode":"matchingAnyTag"},"is_exception":false} [] [2016-05-01 02:17:21] main.DEBUG: cache_invalidate: {"method":"GET","url":"https://endohaus.com/checkout/cart/","invalidateInfo":{"tags":["rewards_purchase"],"mode":"matchingAnyTag"},"is_exception":false} [] [2016-05-01 02:17:21] main.DEBUG: cache_invalidate: {"method":"GET","url":"https://endohaus.com/checkout/cart/","invalidateInfo":{"tags":["rewards_purchase_55","rewards_purchase"],"mode":"matchingAnyTag"},"is_exception":false} [] [2016-05-01 02:17:21] main.DEBUG: cache_invalidate: {"method":"GET","url":"https://endohaus.com/checkout/cart/","invalidateInfo":{"tags":["rewards_purchase_55","rewards_purchase"],"mode":"matchingAnyTag"},"is_exception":false} [] [2016-05-01 02:18:14] main.DEBUG: cache_invalidate: {"method":"GET","url":"http:/","invalidateInfo":{"tags":["helpdesk_gateway"],"mode":"matchingAnyTag"},"is_exception":false} [] [2016-05-01 02:18:14] main.DEBUG: cache_invalidate: {"method":"GET","url":"http:/","invalidateInfo":{"tags":["helpdesk_gateway_1","helpdesk_gateway"],"mode":"matchingAnyTag"},"is_exception":false} [] [2016-05-01 02:18:14] main.DEBUG: cache_invalidate: {"method":"GET","url":"http:/","invalidateInfo":{"tags":["helpdesk_gateway_1","helpdesk_gateway"],"mode":"matchingAnyTag"},"is_exception":false} [] [2016-05-01 02:18:14] main.DEBUG: cache_invalidate: {"method":"GET","url":"http:/","invalidateInfo":{"tags":["helpdesk_gateway"],"mode":"matchingAnyTag"},"is_exception":false} [] [2016-05-01 02:18:14] main.DEBUG: cache_invalidate: {"method":"GET","url":"http:/","invalidateInfo":{"tags":["helpdesk_gateway_2","helpdesk_gateway"],"mode":"matchingAnyTag"},"is_exception":false} [] [2016-05-01 02:18:14] main.DEBUG: cache_invalidate: {"method":"GET","url":"http:/","invalidateInfo":{"tags":["helpdesk_gateway_2","helpdesk_gateway"],"mode":"matchingAnyTag"},"is_exception":false} [] [2016-05-01 02:18:14] main.DEBUG: cache_invalidate: {"method":"GET","url":"http:/","invalidateInfo":{"tags":["helpdesk_gateway"],"mode":"matchingAnyTag"},"is_exception":false} [] [2016-05-01 02:18:14] main.DEBUG: cache_invalidate: {"method":"GET","url":"http:/","invalidateInfo":{"tags":["helpdesk_gateway_3","helpdesk_gateway"],"mode":"matchingAnyTag"},"is_exception":false} [] [2016-05-01 02:18:14] main.DEBUG: cache_invalidate: {"method":"GET","url":"http:/","invalidateInfo":{"tags":["helpdesk_gateway_3","helpdesk_gateway"],"mode":"matchingAnyTag"},"is_exception":false} []

Same thing is with system.log
Anyone has an idea?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Format is not validGate 1 Failed. Automatic verification of issue format is failedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions