When applications are running in production, they become black boxes that need to be traced and monitored. One of the simplest, yet main, ways to do so is logging. Logging allows us - at the time we develop our software - to instruct the program to emit information while the system is running that will be useful for us and our sysadmins.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Macro title: toc-right | |
## Macro has a body: N | |
## | |
## Developed by: Benjamin DUPUIS | |
## Date created: 05/08/2011 | |
## Date Updated: 30/11/2016 | |
## Installed by: Benjamin DUPUIS | |
## @param Maxlvl:title=MaxLvl|type=int|required=true|desc=Max Level|default=5 | |
## @param Float:title=Float|type=boolean|required=true|desc=Float/Fixed Position|default=true | |
## @param Hidable:title=Hidable|type=boolean|required=true|desc=Hidable (Float menu only)|default=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Macro title: UML Sequence Diagram | |
## Macro has a body: Y | |
## Body processing: Unrendered | |
## | |
## This macro allows use of js-sequence-diagrams from http://bramp.github.io/js-sequence-diagrams/ | |
## | |
## Developed by: Greg MacLellan | |
## Date created: 2015-09-15 | |
## 2015-09-21: Added suppor for displaying parse errors while rendering | |
## Installed by: Greg MacLellan |
The best way to use this tool is to hook apt's use of dpkg to run it before doing any package installs.
In your apt.conf, put this:
DPkg::Pre-Install-Pkgs {"xargs -rL1 bash /path/to/stripdeb.sh 2>&1 | logger -t stripdeb"}
Then, a demo:
% sudo apt-get install mysql-server-5.1