That worked. Thanks!
--
Nate Fox
Sr Systems Engineer
o: 310.658.5775
m: 714.248.5350
Follow us @NEOGOV <http://twitter.com/NEOGOV> and on
Facebook<http://www.facebook.com/neogov>
NEOGOV <http://www.neogov.com/> is among the top fastest growing software
companies in the USA, recognized by Inc 500|5000, Deloitte Fast 500, and
the LA Business Journal. We are hiring!<http://www.neogov.com/#/company/careers>
On Thu, Jun 6, 2013 at 2:57 AM, Botond Botyanszki <[email protected]> wrote:
> Hi,
>
> Try this:
> Include %ROOT%\conf\\*.nxlog.conf
>
> The reason is that any character after a \ is ignored so a simple "\*"
> isn't detected as a wildcard.
>
> People are running into the same issue with the File directive for
> im_file. This is what happens when the backslash is used both as an
> escape character and the directory separator.
> The possible solutions would be:
> * Use something else as the escape character.
> People are used to \, another escape character would be confusing.
> * Don't use windows.
> No comment.
> * Use / instead of \ as the directory separator.
> This is already supported for normal (non-wildcarded) paths on
> windows. Unfortunately it doesn't work with wildcarded paths.
> Windows users are used to the \ as the directory separator anyway, and
> we can't disable the original function of the backslash.
> Obviously there is no easy way in this case, at least I'm not aware of
> any.
>
> Regards,
> Botond
>
>
> On Wed, 5 Jun 2013 14:52:14 -0700
> Nate Fox <[email protected]> wrote:
>
> > I'm running a fresh install of nxlog-ce 2.4.1054 on Win 2008 R2.
> > Per the manual here
> >
> http://nxlog.org/nxlog-docs/en/nxlog-reference-manual.html#config_includeI
> > believe I should be able to do:
> >
> > define ROOT C:\Program Files (x86)\nxlog
> > Include %ROOT%\conf\*.nxlog.conf
> >
> > But it gives me the following error:
> > nxlog failed to start: Invalid 'include' directive at C:\Program Files
> > (x86)\nxlog\conf\nxlog.conf:17
> > Failed to open config file C:\Program Files (x86)\nxlog\conf\*.nxlog.conf
> > The filename, directory name, or volume label syntax is incorrect.
> >
> > However, `Include %ROOT%\conf\sample.nxlog.conf` works fine.
> >
> > Am I doing something wrong or is this a bug?
> >
> > Full config files are here:
> > https://gist.github.com/natefox/a00105caa51fcfdea1aa
>
>
> ------------------------------------------------------------------------------
> How ServiceNow helps IT people transform IT departments:
> 1. A cloud service to automate IT design, transition and operations
> 2. Dashboards that offer high-level views of enterprise services
> 3. A single system of record for all IT processes
> http://p.sf.net/sfu/servicenow-d2d-j
> _______________________________________________
> nxlog-ce-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users
>
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
nxlog-ce-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users