Commit Graph

5 Commits

Author SHA1 Message Date
Xavier Delaruelle
52fda4787a doc: fix logging sys on log-module-command recipe
Update log-module-command recipe to ensure the logging system is not
broken by the current user environment.

Fixes #475.
2022-10-14 06:50:37 +02:00
Xavier Delaruelle
9bff25c2d2 doc: fix log-module-command recipe siteconfig.tcl
Fix the siteconfig.tcl file of the log-module-command cookbook recipe
not to break when a file is sourced through cmdModuleSource. Limit the
addition of the 'auto' log field only if load evaluation comes from
cmdModuleLoad procedure.

Fixes #453
2022-04-28 08:55:10 +02:00
Xavier Delaruelle
b688be67d8 doc: extend *Log module commands* cookbook
Improve the *Log module commands* cookbook to rely on the `trace` Tcl
command to track every modulefile evaluation and module/ml procedure
calls.

Fixes #412.
2021-09-19 14:32:01 +02:00
Xavier Delaruelle
e2117723b3 doc: fix modulecmd state check in recipe code
Code to handle the internal states of modulecmd have been reworked on
Modules v4.6. As a consequence several siteconfig.tcl extension scripts
described on documentation recipes have to be adapted.

Closes #396
2021-05-09 12:52:04 +02:00
Xavier Delaruelle
778aeecf26 doc: add log-module-commands recipe to cookbook
Fixes #283.
2019-09-12 21:21:44 +02:00