mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 11:18:11 +00:00
Backward compatibility for --log argument
This commit is contained in:
parent
f5c20b2549
commit
cd096ac6e6
@ -111,7 +111,7 @@ class Server:
|
|||||||
)
|
)
|
||||||
parser.add_argument("-q", "--quiet", default=False, action="store_true", help="do not show logs on stdout")
|
parser.add_argument("-q", "--quiet", default=False, action="store_true", help="do not show logs on stdout")
|
||||||
parser.add_argument("-d", "--debug", default=False, action="store_true", help="show debug logs")
|
parser.add_argument("-d", "--debug", default=False, action="store_true", help="show debug logs")
|
||||||
parser.add_argument("--logfile", help="send output to logfile instead of console")
|
parser.add_argument("--logfile", "--log", help="send output to logfile instead of console")
|
||||||
parser.add_argument("--logmaxsize", default=10000000, help="maximum logfile size in bytes (default is 10MB)")
|
parser.add_argument("--logmaxsize", default=10000000, help="maximum logfile size in bytes (default is 10MB)")
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--logbackupcount", default=10, help="number of historical log files to keep (default is 10)"
|
"--logbackupcount", default=10, help="number of historical log files to keep (default is 10)"
|
||||||
|
Loading…
Reference in New Issue
Block a user