openxpki/openxpki — pull request #230 by ptomulik (2014-09-07 05:03:39+00:00)
Title: enable utf8 logs

Without this I was unable to approve CSRs with utf-8 in metadata:

```
root@ca:/etc/openxpki# grep Wide /var/openxpki/catchall.log
2014/09/07 06:26:25 Workflow.ERROR:16601 Caught exception from action: Wide character in syswrite at /usr/share/perl5/Log/Log4perl/Appender/File.pm line 242.
2014/09/07 06:26:25 openxpki.workflow.ERROR:16601 [OpenXPKI::Server::API::Workflow (/usr/lib/perl5/OpenXPKI/Server/API/Workflow.pm:1009); ra(RA Operator)@e791] Error executing workflow activity 'csr_persist_metadata' on workflow id 3583 (type I18N_OPENXPKI_WF_TYPE_CERTIFICATE_SIGNING_REQUEST_V2): I18N_OPENXPKI_SERVER_WORKFLOW_ERROR_ON_EXECUTE; __ERROR__ => Wide character in syswrite at /usr/share/perl5/Log/Log4perl/Appender/File.pm line 242.
2014/09/07 06:41:42 Workflow.ERROR:16663 Caught exception from action: Wide character in syswrite at /usr/share/perl5/Log/Log4perl/Appender/File.pm line 242.
2014/09/07 06:41:42 openxpki.workflow.ERROR:16663 [OpenXPKI::Server::API::Workflow (/usr/lib/perl5/OpenXPKI/Server/API/Workflow.pm:1009); ra(RA Operator)@e791] Error executing workflow activity 'csr_persist_metadata' on workflow id 3583 (type I18N_OPENXPKI_WF_TYPE_CERTIFICATE_SIGNING_REQUEST_V2): I18N_OPENXPKI_SERVER_WORKFLOW_ERROR_ON_EXECUTE; __ERROR__ => Wide character in syswrite at /usr/share/perl5/Log/Log4perl/Appender/File.pm line 242.
2014/09/07 06:42:47 Workflow.ERROR:16708 Caught exception from action: Wide character in syswrite at /usr/share/perl5/Log/Log4perl/Appender/File.pm line 242.
2014/09/07 06:42:47 openxpki.workflow.ERROR:16708 [OpenXPKI::Server::API::Workflow (/usr/lib/perl5/OpenXPKI/Server/API/Workflow.pm:1009); ra(RA Operator)@d089] Error executing workflow activity 'csr_persist_metadata' on workflow id 3583 (type I18N_OPENXPKI_WF_TYPE_CERTIFICATE_SIGNING_REQUEST_V2): I18N_OPENXPKI_SERVER_WORKFLOW_ERROR_ON_EXECUTE; __ERROR__ => Wide character in syswrite at /usr/share/perl5/Log/Log4perl/Appender/File.pm line 242.
2014/09/07 06:47:29 Workflow.ERROR:16782 Caught exception from action: Wide character in syswrite at /usr/share/perl5/Log/Log4perl/Appender/File.pm line 242.
2014/09/07 06:47:29 openxpki.workflow.ERROR:16782 [OpenXPKI::Server::API::Workflow (/usr/lib/perl5/OpenXPKI/Server/API/Workflow.pm:1009); ra(RA Operator)@cf2f] Error executing workflow activity 'csr_persist_metadata' on workflow id 3583 (type I18N_OPENXPKI_WF_TYPE_CERTIFICATE_SIGNING_REQUEST_V2): I18N_OPENXPKI_SERVER_WORKFLOW_ERROR_ON_EXECUTE; __ERROR__ => Wide character in syswrite at /usr/share/perl5/Log/Log4perl/Appender/File.pm line 242.
```

The error was also printed in UI and it couldn't persist data because, in fact, it couldn't print some debug messages to logs.