LSST Applications  21.0.0-1-g8760c09+64c1bc5aa5,21.0.0-1-ga51b5d4+5491f2a448,21.0.0-12-gbc0a1a5+a13491cd7a,21.0.0-16-gec61338+c1a0df68cc,21.0.0-17-g535a0ce+2ce1b35d7c,21.0.0-17-gd94932e+3011406107,21.0.0-18-g7027a3f+ff861a2432,21.0.0-18-ga7882e3+3bf3df37a8,21.0.0-2-g103fe59+61779578b6,21.0.0-2-g45278ab+64c1bc5aa5,21.0.0-2-g5242d73+d85392d81f,21.0.0-2-g7f82c8f+b7a913d2e8,21.0.0-2-ga326454+b7a913d2e8,21.0.0-2-gde069b7+4f46bdaea8,21.0.0-2-gecfae73+34aa867395,21.0.0-2-gfc62afb+d85392d81f,21.0.0-21-gbccb7aa+25657be8c9,21.0.0-24-g07df93d+5d47c285b5,21.0.0-25-g98a1dda9+87b78843fe,21.0.0-3-g357aad2+26c44b7683,21.0.0-3-g4a4ce7f+d85392d81f,21.0.0-3-g4be5c26+d85392d81f,21.0.0-3-gd7ab7aa+fdc5edd43f,21.0.0-3-ge02ed75+2ce1b35d7c,21.0.0-36-g68b03cce9+fb0e51fe34,21.0.0-4-g65b4814+25657be8c9,21.0.0-4-g7dab645+8dd487cf55,21.0.0-4-ge8a399c+718fb879c1,21.0.0-5-g19a7531+2ce1b35d7c,21.0.0-5-g8c1d971+7b9a448d34,21.0.0-5-gcc89fd6+fdc5edd43f,21.0.0-5-gd00fb1e+0be1da2719,21.0.0-6-g0bf7090+18535a8d22,21.0.0-6-gc675373+d85392d81f,21.0.0-7-gdf92d54+64c1bc5aa5,21.0.0-8-g5674e7b+8087abed30,21.0.0-86-gac3e7760+06ac5cc073,master-gac4afde19b+2ce1b35d7c,w.2021.21
LSST Data Management Base Package
Public Member Functions | List of all members
lsst.pipe.base.argumentParser.LongLogAction Class Reference
Inheritance diagram for lsst.pipe.base.argumentParser.LongLogAction:

Public Member Functions

def __call__ (self, parser, namespace, values, option_string)
 

Detailed Description

argparse action to make logs verbose.

An action so that it can take effect before log level options.

Definition at line 1246 of file argumentParser.py.

Member Function Documentation

◆ __call__()

def lsst.pipe.base.argumentParser.LongLogAction.__call__ (   self,
  parser,
  namespace,
  values,
  option_string 
)
Set long log.

Parameters
----------
parser : `ArgumentParser`
    Argument parser.
namespace : `argparse.Namespace`
    Parsed command. This argument is not used.
values : `list`
    Unused.
option_string : `str`
    Option value specified by the user (unused).

Definition at line 1252 of file argumentParser.py.

1252  def __call__(self, parser, namespace, values, option_string):
1253  """Set long log.
1254 
1255  Parameters
1256  ----------
1257  parser : `ArgumentParser`
1258  Argument parser.
1259  namespace : `argparse.Namespace`
1260  Parsed command. This argument is not used.
1261  values : `list`
1262  Unused.
1263  option_string : `str`
1264  Option value specified by the user (unused).
1265  """
1266  lsstLog.configure_prop("""
1267 log4j.rootLogger=INFO, A1
1268 log4j.appender.A1=ConsoleAppender
1269 log4j.appender.A1.Target=System.out
1270 log4j.appender.A1.layout=PatternLayout
1271 log4j.appender.A1.layout.ConversionPattern=%-5p %d{yyyy-MM-ddTHH:mm:ss.SSSZ} %c (%X{LABEL})(%F:%L)- %m%n
1272 """)
1273 
1274 

The documentation for this class was generated from the following file: