Sorry, turns out to be I was editing a previous version :D (Ooooops!). I am
able to add custom logs now.
On Friday, June 5, 2015 at 12:03:58 PM UTC+5:30, Ketaki Rao wrote:
>
> Hi,
> I am trying to modify the source code situated in python/site-packages to
> add a few custom logs to understand the working of reviewboard, but they do
> not appear in the reviewboard.log file. I have added logs in the following
> fashion:
>
> (reviews/views.py)
> import logging
> logger = logging.getLogger('reviewboard')
> def review_detail(...):
> logger.debug("Custom log: In review_detail")
>
> After making these changes I have restarted Apache, but I am not able to
> view these in the reviewboard log file. Could you please help me out with
> the right procedure to add custom logs.
>
> Thanks and regrads,
> Ketaki Rao
>
--
Supercharge your Review Board with Power Pack:
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons:
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
---
You received this message because you are subscribed to the Google Groups
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.