Andreas Thienemann schrieb:

But I know why _log_ is not being initialised. Take a look at Line 81:

        if ($db ne 'log') {
            $params->{PURPOSE} = $db;
        }

I'm not sure what the PURPOSE parameter does, but commenting out the if check, the log database does indeed get created and is useable.

I can only describe what PURPOSE = 'log' makes. See get_dbi in OpenXPKI::Server::Init

1. CTX('log') will be set to NOOP in the database parameters. This is necessary because the logging database interface should not write logging informations by itself into itself (endless loop and a lot of noise).

2. If the database is a SQLite database then the PURPOSE will be attached to the database (file) name.

The only problem is that I don't know why 'log' is filtered in the administrative tool. OpenXPKI::Server::Init already handles 'log' and SQLite in a special way by its own.


Best regards

Michael
--
_______________________________________________________________

Michael Bell                    Humboldt-Universitaet zu Berlin

Tel.: +49 (0)30-2093 2482       ZE Computer- und Medienservice
Fax:  +49 (0)30-2093 2704       Unter den Linden 6
[EMAIL PROTECTED]   D-10099 Berlin
_______________________________________________________________

X.509 CA Certificates / Wurzelzertifikate

http://ra.pki.hu-berlin.de

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
OpenXPKI-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to