Hi,

The error message suggests that it is trying to open the file as is with
the wildcard character included and is not treating it as such.
This might be because you are using an older version where include did
not support wildcards.
Another wild guess is that it is "Program Files (x86)" instead, but I'm
sure you have checked that.

Regards,
Botond

On Tue, 2 Jul 2013 15:31:45 +0200
Mathieu GELI <[email protected]> wrote:

> Hi,
> 
> I followed up on this thread [1] and can't manage to get Botond's
> solution working, I still have the "failed to open config file" error.
> 
> My nxlog.conf is :
> 
> define ROOT C:\Program Files\nxlog
> Include %ROOT%\conf\\*.nxlog.conf
> 
> Moduledir %ROOT%\modules
> CacheDir %ROOT%\data
> Pidfile %ROOT%\data\nxlog.pid
> SpoolDir %ROOT%\data
> LogFile %ROOT%\data\nxlog.log
> 
> <Input in>
>     Module      im_msvistalog
> </Input>
> 
> <Output out>
>     Module      om_tcp
>     Host        127.0.0.1
>     Port        514
> </Output>
> 
> <Route 1>
>     Path        in => out
> </Route>
> 
> And the service is manually launched as :
> 
> C:\Program Files\nxlog>nxlog.exe -c conf\nxlog.conf -v
> Invalid 'include' directive at conf\nxlog.conf:2; Failed to open
> config file C:\Program Files\nxlog\conf\\*.nxlog.conf; La syntaxe du
> nom de fichier, de répertoire ou de volume est incorrecte.
> 
> I tried with and without files matching the pattern created in the
> conf directory, same error.
> I also tried simple quoting the include path, double quoting, mixing
> with two, three "\", trying "/". None worked.
> 
> Any help appreciated !
> Cheers,
> 
> [1] 
> http://www.mail-archive.com/[email protected]/msg00003.html
> 
> --
> Mathieu
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
> 
> Build for Windows Store.
> 
> http://p.sf.net/sfu/windows-dev2dev
> _______________________________________________
> nxlog-ce-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
nxlog-ce-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to