Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
Hi.. i am new to python and I want to put logfile to get the logs for every function including that function name with arguments. could any one help on this. Thanks raghuvbhat |
|
Hello.. I have function as below to create logfile and write logs to it. It works fine in python shell. But once you convert it into sql server query, its not working. Any idea why so? import logging import time from datetime import datetime labellog = "C:\LabelLog" + datetime.now().strftime("%Y%m%d_%H%M%S")+".log" logging.basicConfig(filename=labellog,format='%(asctime)s … |