Default composer-cli log should be in ./composer-cli.log
Multiple users may use the tool, each one gets their own logfile.
This commit is contained in:
parent
73011c6bb0
commit
9e16e1c0c5
@ -75,8 +75,8 @@ def get_parser():
|
||||
help="Output the raw JSON response instead of the normal output.")
|
||||
parser.add_argument("-s", "--socket", default="/run/weldr/api.socket", metavar="SOCKET",
|
||||
help="Path to the socket file to listen on")
|
||||
parser.add_argument("--log", dest="logfile", default="/var/log/lorax-composer/cli.log", metavar="LOG",
|
||||
help="Path to logfile (/var/log/lorax-composer/cli.log)")
|
||||
parser.add_argument("--log", dest="logfile", default="./composer-cli.log", metavar="LOG",
|
||||
help="Path to logfile (./composer-cli.log)")
|
||||
parser.add_argument("-a", "--api", dest="api_version", default="0", metavar="APIVER",
|
||||
help="API Version to use")
|
||||
parser.add_argument("--test", dest="testmode", default=0, type=int, metavar="TESTMODE",
|
||||
|
Loading…
Reference in New Issue
Block a user