Hi Chris,
Thanks for the comments , Iam planning to use logging handlers (
StreamHandler and FileHandler) to achieve my requirement .
Any quick reference example to this will be great , Iam on Python 2.7 , Iam
referring the python docs for mow.
Regards,
Ganesh
On Fri, Nov 21, 2014 at 5:25 PM, C
On Fri, Nov 21, 2014 at 9:48 PM, Ganesh Pal wrote:
> Please provide your input on the below questions.
>
> (1). How do i guarantee that all console messages will be logged into the
> logfile ?
> (2) I feel the need to retain few print(), how do I ensure the print()
> messages are also logged int
On 21 Nov 2014, at 11:48, Ganesh Pal wrote:
Hi Team ,
Iam using the python logging module to log the events for my
application
into a log file .
I have set the logging level to DEBUG as shown below
logging.basicConfig(filename=options.log_file,
level=logging.DEBUG,
Hi Team ,
Iam using the python logging module to log the events for my application
into a log file .
I have set the logging level to DEBUG as shown below
logging.basicConfig(filename=options.log_file,
level=logging.DEBUG,
format='%(asctime)s %(lev