My guess is the quotes being the only thing different? Did you try
File E:\Data\LogFiles\Server\\*.AS4
(notice no quotes and only 1 escaping slash)
--
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 Wed, Jun 19, 2013 at 11:49 AM, Marvin Nipper <
[email protected]> wrote:
> Just following up on Nate’s previous thread….
>
>
>
> Again, with 2.4.1054, in Win Web Server 2K8 R2.
>
>
>
> I tried this:
>
> Module im_file
>
> File "E:\Data\LogFiles\Server\\*.AS4"
>
>
>
> But just as with a single slash, the double-slash syntax above generated
> the same “not found” error. On a whim (and because I was desperate), I
> tried this:
>
> File "E:\Data\LogFiles\Server\\\*.AS4"
>
>
>
> … and “amazingly” (to me, anyway) that is what was required, in order to
> make this work. Does that seem right to you? (Because it didn’t seem like
> that should have worked.) And if you decide that is “not right”, and you
> decide to “fix it” (such that the triple-slash will no longer work), please
> let me know, because I’m now running with that in several conf files.
>
>
>
> Thanks for your time and help.
>
>
>
> Marvin
>
>
>
> *From:* Nate Fox [mailto:[email protected]]
> *Sent:* Thursday, June 06, 2013 12:42 PM
> *To:* [email protected]
> *Subject:* Re: [nxlog-ce-users] `Include` with wildcards on windows?
>
>
>
> 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
>
>
>
> The information transmitted, including any content in this communication
> is confidential, is intended only for the use of the intended recipient and
> is the property of The Western Union Company or its affiliates and
> subsidiaries. If you are not the intended recipient, you are hereby
> notified that any use of the information contained in or transmitted with
> the communication or dissemination, distribution, or copying of this
> communication is strictly prohibited. If you have received this
> communication in error, please notify the Western Union sender immediately
> by replying to this message and delete the original message
>
>
>
>
> ------------------------------------------------------------------------------
> 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