Autor Beitrag
uranop
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 149

Win XP, Win 7, Slackware 11, FreeBSD
D6E, php
BeitragVerfasst: Mo 13.07.09 09:54 
Servus,

Ich habe da mal ein Anliegen ...
In meinem Prog greife ich remote auf das Eventlog eines entfernten Rechners zu.
Soweit sogut alles kein Thema.
Aber , wenn der Log zu gross wird, und ich hatte schon Clients mit grösser 250MB
dann wird das auslesen zur Qual.

Besteht irgendwie die Möglichkeit die Grösse des Logs im Vorfeld zu checken und den
Anwender informieren das bei Grösse > 4MB halt nicht alles ausgelesen wird ?


Gruß


Moderiert von user profile iconNarses: Topic aus Delphi Language (Object-Pascal) / CLX verschoben am Mo 13.07.2009 um 18:24
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Mo 13.07.09 10:13 
Da der Eventlog AFAIK eine Datenbank-Bindung erlaubt, sollte es auch möglich sein, dessen Zeilenanzahl abzufragen. Daraus sollte man die Größe abschätzen können.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.