Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hallo Uwe, *,
On Sat, Apr 13, 2013 at 10:20:18AM +0200, Uwe Richter wrote:
Am 13.04.2013 04:54, schrieb Thomas Hackert:
On Fri, Apr 12, 2013 at 08:27:56PM +0200, Uwe Richter wrote:
Am 12.04.2013 19:55, schrieb Thomas Hackert:
On Fri, Apr 12, 2013 at 06:54:11PM +0200, Uwe Richter wrote:
Am 12.04.2013 18:09, schrieb Thomas Hackert:
On Fri, Apr 12, 2013 at 09:24:40AM +0200, Erich Christian wrote:
Am 12.04.2013 04:46, schrieb Thomas Hackert:
[Export des Silberstreifens debuggen]
[Mailaddi in die config.php eintragen]

O.K. Also so was in der Art wie
<quote>
SS_Log::add_writer(new
SS_LogFileWriter('/var/log/silverstripe/errors.log'), SS_Log::ERR);
</quote>
(steht dann so auf http://api.silverstripe.org/2.4/class-SS_Log.html)?
Aber dann müsste jemand mit weiterreichenden Rechten noch das
Verzeichnis anlegen, damit der Silberstreifen dahin loggt ... ;)

So wollen wir es nicht machen. Schau Dir doch noch einmal die
_config.php an. Dort ist schon ein Logfile eingetragen. Die schreibt
die Datei ins Silverstripe Verzeichnis. Mit den den Warnungen
sollten wir es genau so machen.
Dann haben wir keine Probleme mit den Datei- und Userrechten mehr.

na ja, der Eintrag

<quote>
SS_Log::add_writer(new
SS_LogFileWriter('/var/www/sites/libreofficebox.org/ss_errors.txt'),
SS_Log::ERR);
</quote>

schreibt doch ins /var-Verzeichnis. Wenn ich das jetzt noch als

<quote>
SS_Log::add_writer(new
SS_LogFileWriter('/var/www/sites/libreofficebox.org/ss_warn.txt'),
SS_Log::WARN, '<=');
</quote>

ändere, bräuchte ich doch die Rechte dazu, um das nach /var schreiben zu
können, oder nicht ;? Oder ist das System so konfiguriert, dass der
Silberstreifen diese Datei problemlos anlegen könnte?

Bevor ich da jetzt was ändere, was dann massenhaft Fehlermeldungen im
System verursacht ... ;)
Bis dann
Thomas.

-- 
In the beginning, I was made. I didn't ask to be made. No one consulted
with me or considered my feelings in this matter. But if it brought some
passing fancy to some lowly humans as they haphazardly pranced their way
through life's mournful jungle, then so be it.
- Marvin the Paranoid Android, From Douglas Adams' Hitchiker's Guide to the
Galaxy Radio Scripts

-- 
Informationen zum Abmelden: E-Mail an discuss+help@de.libreoffice.org
Probleme? http://de.libreoffice.org/hilfe-kontakt/mailing-listen/abmeldung-liste/
Tipps zu Listenmails: http://wiki.documentfoundation.org/Netiquette/de
Listenarchiv: http://listarchives.libreoffice.org/de/discuss/
Alle E-Mails an diese Liste werden unlöschbar öffentlich archiviert

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.