mod_log_chat on Windows 2003

Hi people!

I've just compile module on windows, but i can't figure out how set paths in module configuration: I've try just tu leave empty but it doesn't not writes logs.

I try also this configuration:

[{host_config,
[{"host.xx", [{path, "C:\Program Files\ejabberd-2.1.8\logs\host.xx"},
{format, text}]},
{"host2.xx", [{path, "C:\Program Files\ejabberd-2.1.8\logs\host2.xx"},
{format, text}]}]}
but doesn't work.

Also try this on

C:\\Program Files\\ejabberd-2.1.8\\logs\\host.xx with doubles back slashes (like others lines in configuration file).

Can i fix it?

Thanks!

Ok i fixed it :) For someone

Ok i fixed it :)

For someone in the future:

{mod_log_chat, [{host_config,
[{"host.xx", [{path, "C:\\Program Files\\ejabberd-2.1.8\\logs\\host.xx"},
{format, text}]},
{"host2.xx", [{path, "C:\\Program Files\\ejabberd-2.1.8\\logs\\host2.xx"},
{format, text}]}]}
]}
N.B!! Previously u've to create directories inside logs one!

:)

Syndicate content