annotate .hgignore @ 1005:b4af31a8a4f2

core (logs): added formatting, name filter and outputs management: - formatting is inspired from, and use when possible, standard logging. "message", "levelname", and "name" are the only format managed, depending on backend more can be managed (standard backend formats are specified in official python logging doc) - name filter use regular expressions. It's possible to log only plugins with SAT_LOG_LOGGER="^sat.plugins". To log only XEPs 96 & 65, we can use SAT_LOG_LOGGER='(xep_0095|xep_0065)' - output management use a particular syntax: - output handler are name with "//", so far there are "//default" (most of time stderr), "//memory" and "//file" - options can be specified in parenthesis, e.g. "//memory(50)" mean a 50 lines memory buffer (50 is the current default, so that's equivalent to "//memory") - several handlers can be specified: "//file(/tmp/sat.log)//default" will use the default logging + a the /tmp/sat.log file - if there is only one handler, it use the file handler: "/tmp/sat.log" is the same as "//file(/tmp/sat.log)" - not finished, need more work for twisted and basic backends
author Goffi <goffi@goffi.org>
date Mon, 05 May 2014 18:58:34 +0200
parents af900f49df89
children f2cb99b196b1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
0208f9ac426a added .hgignore
Goffi <goffi@goffi.org>
parents:
diff changeset
1 syntax: glob
0208f9ac426a added .hgignore
Goffi <goffi@goffi.org>
parents:
diff changeset
2 *.pyc
140
e496134ed679 added .pyv & twistd.pid to .hgignore
Goffi <goffi@goffi.org>
parents: 4
diff changeset
3 *.pyv
3
0208f9ac426a added .hgignore
Goffi <goffi@goffi.org>
parents:
diff changeset
4 *.swp
0208f9ac426a added .hgignore
Goffi <goffi@goffi.org>
parents:
diff changeset
5 *.swo
0208f9ac426a added .hgignore
Goffi <goffi@goffi.org>
parents:
diff changeset
6 tags
4
3c1cefd41186 added sat executable
Goffi <goffi@goffi.org>
parents: 3
diff changeset
7 twistd.log
140
e496134ed679 added .pyv & twistd.pid to .hgignore
Goffi <goffi@goffi.org>
parents: 4
diff changeset
8 twistd.pid
269
78140bb2f0e3 updated .hgignore
Goffi <goffi@goffi.org>
parents: 140
diff changeset
9 bridge_constructor/generated
335
Goffi <goffi@goffi.org>
parents: 269
diff changeset
10 _trial_temp/
269
78140bb2f0e3 updated .hgignore
Goffi <goffi@goffi.org>
parents: 140
diff changeset
11 sat.egg-info
78140bb2f0e3 updated .hgignore
Goffi <goffi@goffi.org>
parents: 140
diff changeset
12 *.un~
78140bb2f0e3 updated .hgignore
Goffi <goffi@goffi.org>
parents: 140
diff changeset
13 dist
78140bb2f0e3 updated .hgignore
Goffi <goffi@goffi.org>
parents: 140
diff changeset
14 MANIFEST
474
e519f8f33cba misc: Add the build directory to the ignore file.
Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parents: 335
diff changeset
15 build
598
af900f49df89 misc: add ctags_links to .hgignore
Goffi <goffi@goffi.org>
parents: 474
diff changeset
16 ctags_links/