mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
method to globally set logging to output nicely to the console
This will make all of the direct calls to logging level functions output in a format that looks appropriate for the console. Previously, the default output looked like it should be written to a log file.
This commit is contained in:
parent
091fe9b260
commit
76d9eddb3a
5 changed files with 42 additions and 4 deletions
|
|
@ -54,6 +54,8 @@ def main():
|
|||
help=_("Install all signed applications available"))
|
||||
options = parser.parse_args()
|
||||
|
||||
common.set_console_logging(options.verbose)
|
||||
|
||||
if not options.appid and not options.all:
|
||||
parser.error(_("option %s: If you really want to install all the signed apps, use --all") % "all")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue