Pages: [1] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Sentient Blade
|
Posted - 2011.03.09 07:31:00 -
[1]
Is there anyone would be able to provide me with a method of managing the EvE combat & chat logs that would stop the client from carpet bombing my disk with tens of thousands of tiny files? Short of disabling the feature completely?
The problem is, that it has now got to the point where, upon attempting to backup my computer, run a virus scan etc everything grinds to a halt when trying to enumerate the EvE logs folder because there is so much junk in it.
I have a mid-range RAID 10 disk array with Spinpoint F3s, so the disk performance is not exactly lacking either. It just so happens that fiddling with the file table is an expensive disk operation.
Before I have to resort to firing up either VS or PHP, I was wondering, are there any mysterious commands or configuration options available that I should know about that will force EvE to concatenate each of the log files?
Are there any existing third party pieces of software that can accomplish this?
Ideally any solution would merge each of the mini logs into a single file, one per character per month, and then wipe the originals.
Any tips would be appreciated.
|
Horizonist
Yulai Guard 2nd Fleet Yulai Federation
|
Posted - 2011.03.09 08:12:00 -
[2]
How proficient are you with Python programming? I havent written a line of Python for years, but as I remember it, it was very easy to interface with the OS in it (never used it on Windows though, only Linux).
Essentially, you could put together a small program that simply iterates over the files in your log folder and concatenates the ones with the same initial names (LOCAL, CONSTELLATION, CORPORATION...), and afterwards deletes the files used for concatenation. You could further put the actual logic in a while-sleep loop and have it running in the background while playing Eve, or you could just run it whenever you finish playing for the day.
Thats what I would do
|
Florestan Bronstein
Amarr Taishi Combine
|
Posted - 2011.03.09 08:35:00 -
[3]
sounds like sth you would usually do with a shell script
maybe use the opportunity to get familiar with Windows Powershell? other options on Windows would be .bat or WSH scripts (VBScript/JScript installed by default)
|
Xercodo
Amarr Daj'Juntar
|
Posted - 2011.03.09 08:37:00 -
[4]
Just run this every now and then. Groups them into a single file per month, per channel
(first time thru will take a while, so don't think its frozen)
-------------------------------------------------- The drake is a lie
|
Sentient Blade
|
Posted - 2011.03.09 12:16:00 -
[5]
Thanks, I'll take a look at the .NET project and writing a quick command line script, although I will probably go for PHP/CLI as I'm much more comfortable with it.
In the long term, once I get bored of firing missiles at Sanshas, it's my plan to create a little app that runs in the task bar and monitors the log files for changes every few seconds, and when it finds them, parses any new lines for special commands and broadcasts them to a shared web service.
For example:
!sighting Sentient Blade, N-8BZ6, Manticore with covert ops and bomb launcher
Then I can parse it and shoot it up to a web service and store it per corp / alliance so authorised parties can check on known ships / intel with much greater ease than if every time intel was available it had to be posted both to an intel channel and to a website.
Personally I'd like a local API to do things like this, to extend the read-only capabilities of the client, but I don't see that happening, so I'll have to find work arounds.
|
Rasz Lin
Caldari Uitraan Diversified Holdings Incorporated
|
Posted - 2011.03.09 12:41:00 -
[6]
symlink to an USB drive = no problem with slowdowns
oh wait, windows doesnt have those
|
Stafen
Killer Koalas
|
Posted - 2011.03.09 12:48:00 -
[7]
Edited by: Stafen on 09/03/2011 12:49:33
Originally by: Rasz Lin symlink to an USB drive = no problem with slowdowns
oh wait, windows doesnt have those
Actually Windows can have proper symlinks, the "ln -s" command in cygwin works wonders. http://en.wikipedia.org/wiki/NTFS_symbolic_link
|
RaTTuS
BIG Gentlemen's Agreement
|
Posted - 2011.03.09 14:44:00 -
[8]
Originally by: Rasz Lin symlink to an USB drive = no problem with slowdowns
oh wait, windows doesnt have those
please go and look up Junctions
and I use these to plonk the cache files on a RAM disk --
Join BIG
|
Julius Rigel
Sub-warp Racing Venture
|
Posted - 2011.03.09 15:04:00 -
[9]
Why can't you just zip up your log files every month like everyone else?
|
Sentient Blade
|
Posted - 2011.03.09 15:38:00 -
[10]
Because I demand automation and efficiency, damnit! That, and because short of password protecting them the AV would still go in and try to scan every one.
|
|
Barakkus
|
Posted - 2011.03.09 16:16:00 -
[11]
Originally by: Sentient Blade Because I demand automation and efficiency, damnit! That, and because short of password protecting them the AV would still go in and try to scan every one.
You have crap AV if you can't exclude specific files or folders.
It's not terribly difficult. Startup script, del <dir>\*.* If you're running windows just toss that in autoexec.bat and you're all set.
|
dexington
Caldari Baconoration
|
Posted - 2011.03.09 16:45:00 -
[12]
Just use the type command to add all the files into one, eg: 'type Local*.* >> LocalChat.txt'.
You will need to run the command once for every type of chat log you want to save, but if you make a .bat file it should be no problem and just use the delete command to clean the folder when you are done. If you make a .bat file just add it as a windows scheduled task and it will be run automatically.
|
Palovana
Caldari Inner Fire Inc.
|
Posted - 2011.03.09 16:47:00 -
[13]
I use this command:
find /home/user/Documents/EVE/logs/ -type f -mtime +30 | xargs rm
It removes all regular files in the specified directory when their modification time is greater than 30 days ago. It can easily be put into crontab.
Should work well for those running EVE under Wine on Linux, and also work with tweaks to the "/home/user/Documents/EVE/logs/" directory for OS X users.
|
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |