Searched refs:logger (Results 1 - 25 of 28) sorted by relevance

12

/pkg/src/tests/api/
H A Dt_client.py39 logger = global_settings.logger variable
75 logger.debug("DEBUG")
76 logger.info("INFO")
77 logger.warning("WARNING")
78 logger.error("ERROR")
79 logger.critical("CRITICAL")
90 logger.debug("DEBUG")
H A Dt_pkglint.py47 logger = logging.getLogger("pkglint") variable
48 if not logger.handlers:
49 logger.setLevel(logging.WARNING)
54 logger.addHandler(ch)
/pkg/src/modules/client/
H A D__init__.py178 logger = logging.getLogger("pkg")
180 logger.removeHandler(self.__error_log_handler)
183 logger.addHandler(val)
186 logger = logging.getLogger("pkg")
188 logger.removeHandler(self.__info_log_handler)
191 logger.addHandler(val)
203 def logger(self): member in class:GlobalSettings
212 logger = logging.getLogger("pkg")
213 logger.setLevel(logging.DEBUG)
215 # Don't pass messages that are rejected to the root logger
[all...]
H A Dbootenv.py31 logger = global_settings.logger variable
143 logger.error(_("pkg: A system error {e} was "
149 logger.error(_("pkg: '{cmd}' failed. \nwith "
219 logger.error(_("pkg: unable to create an auto "
499 logger.error(_("pkg: unable to activate "
515 logger.error(_("unable to unmount BE "
524 logger.info(_("""
530 logger.info(_("""
542 logger
[all...]
H A Dprintengine.py29 render them to a file, a terminal, or a logger."""
209 python logger from the logging module. Note that This class is used by
215 can output. If so, each complete line is issued to the logger, and any
218 def __init__(self, logger, loglevel):
220 self._logger = logger
263 logger = logging.getLogger('test')
265 logger.addHandler(ch)
267 pe = LoggingPrintEngine(logger, logging.WARNING)
H A Dclient_api.py1163 _verbose=0, display_plan_cb=None, logger=None, _unpackaged=False,
1234 pkg_timer.record("planning", logger=logger)
1254 pkg_timer.record("planning", logger=logger)
1259 pkg_timer.record("planning", logger=logger)
1264 pkg_timer.record("planning children", logger=logger)
1305 def __api_plan_save(api_inst, logger
[all...]
H A Dpkgplan.py47 logger = global_settings.logger variable
597 logger.error("Action install failed for '{0}' ({1}):\n "
613 logger.error("Action upgrade failed for '{0}' ({1}):\n "
629 logger.error("Action removal failed for '{0}' ({1}):\n "
H A Dpublisher.py72 logger = global_settings.logger variable
1525 logger.error(_("""
1537 logger.error(_("""\
1545 logger.error(_("""\
1553 logger.warning(_("""\
1562 logger.warning(_("""\
1569 logger.warning(_("pkg set-publisher -P -g "
1573 logger.warning(_("""\
H A Dpkgremote.py107 global_settings.logger.info("{0}{1}".format(prefix, msg))
H A Dimage.py78 logger = global_settings.logger variable
1705 logger.error(str(e))
2883 logger.error(str(e))
4270 logger.warning("Corrupted avoid list - salvaging"
4284 logger.warning("Corrupted avoid list - ignoring")
4327 logger.warning("Cannot save avoid list: {0}".format(
H A Dimageconfig.py49 logger = global_settings.logger variable
H A Dapi.py139 logger = global_settings.logger variable
604 logger.warning(e)
631 logger.warning(_("Skipping publisher metadata refresh;"
5178 logger.warning(str(e))
5793 logger.warning(e)
5854 logger.warning(e)
H A Dprogress.py54 logger = global_settings.logger variable
483 logger.error("\n" + exstr)
/pkg/src/util/publish/
H A Dupdate_file_layout.py43 logger = global_settings.logger variable
65 logger.error(ws + pkg_cmd + text_nows)
H A Dpkglint.py50 logger = None variable
56 if logger is not None:
57 logger.error(_("Error: {0}").format(message))
60 logger.info(message)
63 logger.debug(message)
68 global logger
110 logger = logging.getLogger("pkglint")
114 logger.setLevel(logging.DEBUG)
118 logger.setLevel(logging.INFO)
121 logger
[all...]
/pkg/src/modules/lint/
H A Dlog.py91 # install our own logger, writing to stderr
92 self.logger = logging.getLogger("pkglint_checks")
95 self.logger.setLevel(logging.INFO)
97 self.logger.addHandler(self._th)
104 # when the logger is using an engine, the engine registers
175 """Called to determine if this logger produced any lint
180 """Called to tell the logger to expect lint messages concerning
194 self.logger.warning(msg)
213 self.logger.warning("{0}{1}".format(
233 self.logger
[all...]
H A Dengine.py68 self.logger = logging.getLogger("pkglint")
315 # set up our python logger
316 self.logger = logging.getLogger("pkglint")
361 self.logger.debug("Loading module {0}".format(name))
538 self.logger.info(
568 self.logger.info(
642 self.logger.debug(_("Total number of checks found: {0}").format(
868 self.logger.debug(_("Creating image at {0}").format(image_dir))
983 In particular, this is used to let the logger objects access
H A Dpkglint_action.py160 engine.logger.debug(
188 engine.logger.debug(
208 engine.logger.debug(
1013 engine.logger.debug(_("Seeding reference action dictionaries."))
1018 engine.logger.debug(_("Seeding lint action dictionaries."))
1025 engine.logger.debug(_("Seeding local action dictionaries."))
H A Dpkglint_manifest.py96 engine.logger.debug(
103 engine.logger.debug(
/pkg/src/
H A Dclient.py112 logger = global_settings.logger variable
132 logger.error("\n")
133 logger.error(str(e))
134 logger.error(_("To continue, execute 'pkg update-format' as a "
159 logger.error(ws + pkg_cmd + text_nows)
387 logger.error("")
398 logger.error(
402 logger.error(" pkg "
406 logger
[all...]
H A Dpkgrepo.py85 logger = global_settings.logger variable
114 logger.error(ws + pkg_cmd + text_nows)
140 logger.error(_("Try `pkgrepo --help or -?' for more "
258 logger.info(_("{count:d} package(s) will be removed:\n"
269 logger.info(
275 logger.info("")
443 logger.info(_("Removing publisher(s)"))
447 logger.info(_("\'{pfx}\'\t({num} package(s))").format(
1019 logger
[all...]
H A Ddepot-config.py60 logger = global_settings.logger variable
129 logger.error(ws + pkg_cmd + text_nows)
H A Dsysrepo.py61 logger = global_settings.logger variable
153 logger.error(ws + pkg_cmd + text_nows)
/pkg/src/modules/
H A Dsmf.py39 logger = global_settings.logger variable
157 logger.error(_("FMRI pattern might implicitly match " \
159 logger.error(_("Actuators for {attr} will not be run " \
H A Dmisc.py2537 def record(self, phase, logger=None):
2553 if logger:
2554 logger.debug(rv)

Completed in 140 milliseconds

12