I have to test this solution because i think a problem will appear : what's happened if simultaneously two PHP scripts want to write Log ? I develop php script but i miss some skills in PHP to be sure of my dev !
I'll send you my code and you could tell me what do you think about it :) 2012/8/3 dejan <[email protected]> > Thanks. Just exactly what i need. > > - > Dejan > > On Thu, Aug 2, 2012 at 4:50 PM, Morgan Lamant <[email protected]> > wrote: > > I copied the package OC_Log_Syslog to my own package that permit me to > store > > the log where i want. Now i'm addind juste a line in all the php files > that > > i'm interesting in (like login, logout, > download/upload/delete/move/sharing > > files) to have a global view of all actions that happened on the owncloud > > server :) > > > > For example : OC_Log_System::write("Login successful for user XXX from IP > > XXX.XXX.XXX.XXX") > > > > I think this is an important missing features ... I need to deploy this > > solution for a company and this kind of feature is something very > important > > for an administrator ! > > > > 2012/8/2 dejan <[email protected]> > >> > >> Thanks for suggestions. I will take a look at it. > >> > >> I was thinking to combine logging with OSSEC and > >> syslog messages. > >> > >> - > >> Dejan > >> > >> > >> > >> On Thu, Aug 2, 2012 at 2:09 PM, Bart Visscher <[email protected]> wrote: > >> > On Thu, Aug 02, 2012 at 11:57:53AM +0200, dejan wrote: > >> >> Hi all > >> >> > >> >> is there app that records users sessions (logins, logouts, failed > >> >> logins, ip, etc)? > >> > There is a app admin_audit in master that does a lot of this. Let me > >> > know what you think. Can't remember if this works in OC4. > >> > > >> > Bart > >> > > >> >> > >> >> > >> >> Thanks > >> >> Dejan > >> >> _______________________________________________ > >> >> Owncloud mailing list > >> >> [email protected] > >> >> https://mail.kde.org/mailman/listinfo/owncloud > >> _______________________________________________ > >> Owncloud mailing list > >> [email protected] > >> https://mail.kde.org/mailman/listinfo/owncloud > > > > > > -- > > Morgan > > > -- Morgan LAMANT 07.86.85.76.07 ----- Ingénieur en Systèmes d'Information et Télécommunications
_______________________________________________ Owncloud mailing list [email protected] https://mail.kde.org/mailman/listinfo/owncloud
