I have to test this solution because i think a problem will appear : what's happened if  s<span style="color:rgb(34,34,34);font-family:arial,sans-serif;line-height:16px;background-color:rgb(255,255,255)">imultaneously</span> two PHP scripts want to write Log ? I develop php script but i miss some skills in PHP to be sure of my dev !<div>

<br></div><div>I'll send you my code and you could tell me what do you think about it :)</div><div><br></div><div>2012/8/3 dejan <span dir="ltr"><<a href="mailto:dean.borstnar@gmail.com" target="_blank">dean.borstnar@gmail.com</a>></span></div>

<div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks. Just exactly what i need.<br>
<br>
-<br>
Dejan<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, Aug 2, 2012 at 4:50 PM, Morgan Lamant <<a href="mailto:morgan.lamant@gmail.com">morgan.lamant@gmail.com</a>> wrote:<br>
> I copied the package OC_Log_Syslog to my own package that permit me to store<br>
> the log where i want. Now i'm addind juste a line in all the php files that<br>
> i'm interesting in (like login, logout, download/upload/delete/move/sharing<br>
> files) to have a global view of all actions that happened on the owncloud<br>
> server :)<br>
><br>
> For example : OC_Log_System::write("Login successful for user XXX from IP<br>
> XXX.XXX.XXX.XXX")<br>
><br>
> I think this is an important missing features ... I need to deploy this<br>
> solution for a company and this kind of feature is something very important<br>
> for an administrator !<br>
><br>
> 2012/8/2 dejan <<a href="mailto:dean.borstnar@gmail.com">dean.borstnar@gmail.com</a>><br>
>><br>
>> Thanks for suggestions. I will take a look at it.<br>
>><br>
>> I was thinking to combine logging with OSSEC and<br>
>> syslog messages.<br>
>><br>
>> -<br>
>> Dejan<br>
>><br>
>><br>
>><br>
>> On Thu, Aug 2, 2012 at 2:09 PM, Bart Visscher <<a href="mailto:bartv@thisnet.nl">bartv@thisnet.nl</a>> wrote:<br>
>> > On Thu, Aug 02, 2012 at 11:57:53AM +0200, dejan wrote:<br>
>> >> Hi all<br>
>> >><br>
>> >> is there app that records users sessions (logins, logouts, failed<br>
>> >> logins, ip, etc)?<br>
>> > There is a app admin_audit in master that does a lot of this. Let me<br>
>> > know what you think. Can't remember if this works in OC4.<br>
>> ><br>
>> > Bart<br>
>> ><br>
>> >><br>
>> >><br>
>> >> Thanks<br>
>> >> Dejan<br>
>> >> _______________________________________________<br>
>> >> Owncloud mailing list<br>
>> >> <a href="mailto:Owncloud@kde.org">Owncloud@kde.org</a><br>
>> >> <a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/listinfo/owncloud</a><br>
>> _______________________________________________<br>
>> Owncloud mailing list<br>
>> <a href="mailto:Owncloud@kde.org">Owncloud@kde.org</a><br>
>> <a href="https://mail.kde.org/mailman/listinfo/owncloud" target="_blank">https://mail.kde.org/mailman/listinfo/owncloud</a><br>
><br>
><br>
> --<br>
> Morgan<br>
><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Morgan LAMANT<br>07.86.85.76.07<div>-----<br><div>Ingénieur en Systèmes d'Information et Télécommunications</div></div><br>
</div>