Hi Jeremy,
Thank you once again for your quick reply. There is not much help out
there and if there is, I cant find it!! :P
Anyhow, me and my work-mate were working on this today and we cannot
seem to get the correct output from analog that we need for
reportmagic to work. We simply want the name of the usernames(local
userid), his IP address/hostname, the date/time, the files that were
dl/upl and a few other things. We can only get it working by simply
using the defaults, which do not include the local userid. So if we
could somehow add on to the default configuration the userid at least,
that would be good enough for now.
I can supply you with my conf file if you would like, here is a sneak
peek;
This is from our analog.cfg;
#LOGFORMAT (%j %M %d %h:%n:%j %Y %t %S %b %r %j %j %j %j %u %j %j %j)
LOGFILE /var/log/proftpd/extendedlog.log
This is from our proftpd.conf;
LogFormat test-string "%h %l %u %t \"%r\" %s %b"
ExtendedLog /var/log/proftpd/extendedlog.log ALL test-string
Any help is apreciated...
Thank you very much!!!!
- James (and jacob)
On Sep 23, 5:36 pm, Jeremy Wadsack <
jeremy.wads...@gmail.com> wrote:
> James -
>
> I really don't know much about ProFTPD logs. A quick look at the
> docs<
http://www.proftpd.org/docs/howto/Logging.html>,
> though, suggests that the ExtendedLog is what you want to use. It looks like
> you could configure it to have all the fields you want and then can analyze
> that.
>
> I don't think you'll need to create both logs, just one or the other, and
> Extended sounds right. If you do have both logs and they don't all have the
> information you want, Analog can sometimes read both sets of logs and still
> build reports. You just add a LOGFORMAT command for each file *before* the
> LOGFILE command that loads it.
>
> --
> Jeremy Wadsack
>