File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -122,6 +122,10 @@ def parse_args(argv):
122
122
default = "juju.state.txn" ,
123
123
)
124
124
add_basic_testing_arguments (parser , existing = False )
125
+ # Override the default logging_config default value set by adding basic
126
+ # testing arguments. This way we can have a default value for all tests,
127
+ # then override it again just for this test.
128
+ parser .set_defaults (logging_config = "juju.state.txn=TRACE;<root>=INFO;unit=INFO" )
125
129
return parser .parse_args (argv )
126
130
127
131
def main (argv = None ):
Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ def add_basic_testing_arguments(
297
297
help = 'Keep the Juju environment after the test'
298
298
' completes.' )
299
299
parser .add_argument ('--logging-config' ,
300
- help = "Override logging configuration for a deploy " ,
300
+ help = "Override logging configuration for a deployment. " ,
301
301
default = "<root>=INFO;unit=INFO" )
302
302
if existing :
303
303
parser .add_argument (
You can’t perform that action at this time.
0 commit comments