import logging
...
log1 = logging.getLogger()
How can I find out what is the file name + path used for logging?. Like to find that out from anywhere the logging is accomplished.
also, for plotting, plot.xticks(), I like to create a range to force beginning tick, the ending tick and the step size that I like to define. How to force xticks with these?.

Recommended Answers

Have you tried reading the documentation for the logging part?
Click Here

Jump to Post

All 2 Replies

i did. I still could not figure out. I am very new to python. Got codes that logs but do not know to where.
also, how to set the xtickes minimum,maximum and step size using range?.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.