Page 1 sur 1

Logs windows

Publié : 05 nov. 2018, 17:20
par pchatill
Bonjour .
Je fais quelques essais avec domoticz sous Windows.
Tout marche bien, mais le répertoire c:\program Files (X86)\Domoticz\log reste vide.
(dernière stable et dernière bêta)
(C'est bien ce répertoire que j'ai spécifié a l'installation)
Pourriez vous me dire ce qu'il en est chez vous?
Merci d'avance.

Re: Logs windows (RESOLU)

Publié : 06 nov. 2018, 09:18
par pchatill
Le problème est résolu. (Voir le forum anglais)
En résumé la réponse était: RTFM ....

Re: Logs windows

Publié : 06 nov. 2018, 10:12
par vil1driver
Salut,

Ta contribution est de nous renvoyer à la doc ?

Re: Logs windows

Publié : 06 nov. 2018, 11:49
par pchatill
Pas de probleme, mais comme je le disais (RTFM: Read the fuckink manual) , presque tout est dans le manuel:
Command Line parameters
The following command line parameters are available:
-www port (for example -www 8080)
-sslwww port (secure web port, for example -sslwww 443)
-dbase file_path (for example D:\domoticz.db or /opt/domoticz/domoticz.db)
-verbose x (where x=0 is none, x=1 is debug)
-startupdelay seconds (default=0)
-nowwwpwd (in case you forgot the webserver username/password)
-nobrowser (do not start web browser) (Windows Only)
-log file_path (for example D:\domoticz.log)
-loglevel (0=All, 1=Status+Error, 2=Error)
-nocache (do not cache HTML pages (for editing)
-daemon (run as background daemon) (Unix Only)
-syslog (use syslog as log output) (Unix Only)
If Domoticz is compiled with SSL support:
-sslwww port (for example -sslwww 443)
-sslcert file_path (for example D:\server_cert.pem or /opt/domoticz/server_cert.pem)
If no –sslcert parameter is provided, Domoticz will use server_cert.pem from its installation folder
If faut donc rajouter dans:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Domoticz\Parameters le chemin du log dans App Parameters
Pour moi:
-www 8080 -sslwww 443 -log C:\LogDomoticz\domoticz.log

Re: Logs windows

Publié : 06 nov. 2018, 12:22
par vil1driver
Merci