mirror of
https://github.com/romanz/amodem.git
synced 2026-04-20 21:26:39 +08:00
gpg: add file:line to logging format
This commit is contained in:
@@ -88,7 +88,8 @@ def main():
|
|||||||
|
|
||||||
args = p.parse_args()
|
args = p.parse_args()
|
||||||
logging.basicConfig(level=logging.DEBUG if args.verbose else logging.INFO,
|
logging.basicConfig(level=logging.DEBUG if args.verbose else logging.INFO,
|
||||||
format='%(asctime)s %(levelname)-10s %(message)s')
|
format='%(asctime)s %(levelname)-10s %(message)-120s '
|
||||||
|
'[%(filename)s:%(lineno)d]')
|
||||||
log.warning('This GPG tool is still in EXPERIMENTAL mode, '
|
log.warning('This GPG tool is still in EXPERIMENTAL mode, '
|
||||||
'so please note that the API and features may '
|
'so please note that the API and features may '
|
||||||
'change without backwards compatibility!')
|
'change without backwards compatibility!')
|
||||||
|
|||||||
Reference in New Issue
Block a user