Mercurial > libervia-backend
annotate MANIFEST.in @ 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 | a3aa4d046914 |
children | 268278d9aef2 |
rev | line source |
---|---|
235
7a2ef5fe4e8d
distutils: added preinstall_check hack + some tuning while testing
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
1 include MANIFEST.in distribute_setup.py |
268
7111b98c58b3
distribute: manifest now include all .py and .ini files
Goffi <goffi@goffi.org>
parents:
235
diff
changeset
|
2 global-include *.py |
7111b98c58b3
distribute: manifest now include all .py and .ini files
Goffi <goffi@goffi.org>
parents:
235
diff
changeset
|
3 global-include *.ini |
229 | 4 global-include *.po *.mo |
5 global-include CHANGELOG COPYING* INSTALL README* | |
6 global-include *.sh | |
7 include src/sat.* | |
8 include frontends/src/jp/jp frontends/src/primitivus/primitivus frontends/src/wix/wix | |
273
3b5e856b3a32
Bridge: added mediawiki constructor in bridge constructor, usefull for documentation purpose
Goffi <goffi@goffi.org>
parents:
270
diff
changeset
|
9 include src/bridge/bridge_constructor/mediawiki_template.tpl |
270
4005bf3ce35d
updated MANIFEST.in to exclude bridge_constructor's generated dir
Goffi <goffi@goffi.org>
parents:
268
diff
changeset
|
10 prune src/bridge/bridge_constructor/generated |