##// END OF EJS Templates
hg: Redirect Mercurial stdout/stderr to logging when running as WSGI...
hg: Redirect Mercurial stdout/stderr to logging when running as WSGI Any "console" output from Mercurial when Kallithea is running from WSGI should end up in Kallithea's logs. That seems like a nice general feature. This will however also solve another rare but more critical problem: Mercurial is writing to sys.stdout / sys.stderr, using several layers of wrapping. Since Mercurial 5.5 (with https://repo.mercurial-scm.org/hg/rev/8e04607023e5 ), all writes are given a memoryview. Apache httpd mod_wsgi is invoking the WSGI with a custom mod_wsgi.Log injected in sys.stdout / sys.stderr . This logger can however not handle memoryview - https://github.com/GrahamDumpleton/mod_wsgi/issues/863 .

File last commit:

r5433:fbbe80e3 default
r8795:fe050a93 stable
Show More
backup.rst
27 lines | 512 B | text/x-rst | RstLexer
added backup to docs
r1104 .. _backup:
docs
r2095 ====================
Bradley M. Kuhn
Rename some strings examples and commands in documentation
r4192 Backing up Kallithea
added backup to docs
r1104 ====================
Settings
--------
Bradley M. Kuhn
Rename some strings examples and commands in documentation
r4192 Just copy your .ini file, it contains all Kallithea settings.
added backup to docs
r1104
Mads Kiilerich
docs: consistent spacing around headings...
r5433
added backup to docs
r1104 Whoosh index
------------
Michael V. DePalatis
docs: English and consistency corrections
r4955 The Whoosh index is located in the ``data/index`` directory where you installed
Kallithea, i.e., the same place where the ini file is located
added backup to docs
r1104
Database
--------
Bradley M. Kuhn
Rename some strings examples and commands in documentation
r4192 When using sqlite just copy kallithea.db.
added backup to docs
r1104 Any other database engine requires a manual backup operation.
Michael V. DePalatis
docs: English and consistency corrections
r4955 A database backup will contain all gathered statistics.