Member Avatar
hie I'm trying append teh files i have backed up into log file. All i get is a blank logfile. This what i have so far
by ashleytauari in Linux and Unix ()
Member Avatar
In working on a logfile for an application, I needed to limit the size of the logfile to 1000 bytes. Since it is not possible to delete lines from a file in C++, I used the following steps: Rename the logfile to a temporary name. Read the temporary file. Write …
by iamthesgt in Software Development ()
Member Avatar
Hi All, Need to Analyze Zimbra Mail server sync.log through shell script Required output from sync.log Total Number of Users : Total Number of Device ID: Total Number of Device Type with Version : Below is Sample of Log File : 2009-12-16 00:00:43,970 INFO [btpool0-12194://webmail.amit.com/Microsoft-Server-ActiveSync?Cmd=Ping&User=rahul%40kke.amit.com&DeviceId=androidc986729649&DeviceType=Android] [] sync - POST Microsoft-Server-ActiveSync?Cmd=Ping&User=ritesh%40kke.amit.com&DeviceId=androidc986729649&DeviceType=Android …
by aamitrhce in Software Development ()
Member Avatar
In writing a logfile program, I need a function to output the log entries between two dates. I use seekg() and tellg() to save the position of the first entry to output and last entry and then go back later to output the data in between. However, seekg() when told …
by iamthesgt in Software Development ()
Member Avatar
In writing a logger for an application, the datestamp ends up adding a new line. The datestamp function is as follows: string log_class::get_time() { time_t rawtime; time (&rawtime); string timestamp; timestamp = (ctime (&rawtime)); return timestamp; } This outputs something like Tue Sep 6 14:58:35 2011 , but when called …
by iamthesgt in Software Development ()
Member Avatar
I have multiple servers running Centos 5.5 or later, some of them have syslogs with date stamps like: Sep 1 05:12:36 and some of them like: 2011-09-04T09:21:42.442689-07:00. I would really like to get them all the same so the same analysis scripts can be used, but I have not been …
by garyrickert in Linux and Unix ()
Member Avatar
Hi, I want to create a log file that captures all the actions happening...anyway i got code for that from internet. Now what i want to do is, make that file read only so that the data is not modified by external application or user. log(char* msg) { time_t now …
by neoraghav in Software Development ()
Member Avatar
So I've got some lines in my richtextbox, but when i click btnSaveLog, it saves, but everything is on one line... I have to use a richtextbox to show all info. I've seen it does show the lines with Wordpad, but i'm saving it as a *.log file, so i'm …
by Isaaac -1 in Software Development ()
Member Avatar
Hi- My brother gave me his old laptop, but it's really slow. I got a Hijack This report to see what could be slowing it down but I don't know much about computers. Can anyone take a look at this and help me out? ---- Logfile of Trend Micro HijackThis …
by ebohhhhh in Information Security ()
Member Avatar
Back even a few years ago, it was popular to use log files to ascertain web analytics. Now, most companies use a javascript tag that the web analytic tool picks up. Hence, do you still rely on logfiles? Or do you forget it even exists?
by InsightsDigital 57 in Digital Marketing ()