[Release] Log Manager - Version 1.1.008 - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4) +---- Forum: Scripting (/forumdisplay.php?fid=39) +----- Thread: [Release] Log Manager - Version 1.1.008 (/showthread.php?tid=77116) [Release] Log Manager - Version 1.1.008 by Matti on 08-30-2007 at 02:28 PM
Five months of programming. Log Manager Version 1.1.008 FINAL Err, what? (a.k.a. Description) The Log Manager script was made based upon the idea of some forum members to have a way to easily encrypt, decrypt or change the password of multiple Plus! Live chat logs using the command-line functions of the Log Viewer executable, which was formerly done by using .BAT files. With a fully functional browser which lets you browse through your log folders and provides information about log files and folders, you can choose which file or folder you want to use to start an encryption action. Next, you can check the files you want to process or add more files to list, specify the password and output directory to use, choose whether you want to overwrite your old log files and finally watch your log files getting processed. Or, you may want to start a merging action and select multiple log files to merge into one single log file. Featuring a brand new multilingual support system which doesn't affect the original interface XML files, an update checker and a downloader for additional language files, Log Manager gives you full control over your log files. Just like it should be. What's in the box? (a.k.a. Features) The script includes...
Some eye-candy please! (a.k.a. Screenshots) A nice GUI is very important for a script. You don't want your users get lost in the windows. Therefore, I wanted to provide an good looking, easy-to-use interface, but still with all features in one place. Check out the result, it's in the attachment! What kind of weird things can I expect in this pile of sh*t? (a.k.a. Known Issues) The following list contains all known, not yet fixed issues in the current release. If you think you found a bug or an issue, please PM me or post a reply so I can take a look at it.
Gimme!!! (a.k.a. Download) Alright, enough talk! Here's the download link! » Download Log Manager 1.1.008 here! Note for translators: If you're a translator and want your translation to be published in the official languages database, feel free to PM me your translation and I'll add it. Any questions, suggestions and feedback are more than welcome! Update #2 - 15/09/2007 19:21 CET Log Manager is updated to version 1.1.008. The most important new feature is the log merging feature, and is described above. This update is also available through the script's update checker. I'd also like to note that a German and Spanish translation for 1.0.005 are available from the script's language downloader, and that translators are already busy to update their translations for the new version. Update #1 - 30/08/2007 17:48 CET An error in the Dutch translation was reported by Daryl. Any Dutch users who downloaded the script before this update was reported are recommended to download the new language file by going to Preferences > Language > Download Languages, check "Nederlands (Dutch)" and click Download. My apologies for this. RE: [Release] Log Manager - Version 1.0.005 by matty on 08-30-2007 at 02:47 PM Looking good! RE: [Release] Log Manager - Version 1.0.005 by Daryl on 08-30-2007 at 03:02 PM
Nice one RE: [Release] Log Manager - Version 1.0.005 by Lou on 09-01-2007 at 01:24 AM Looks like you made the news Looking awesome. RE: [Release] Log Manager - Version 1.0.005 by prashker on 09-01-2007 at 02:37 AM
I love the script, very well done. Just 1 suggestion RE: [Release] Log Manager - Version 1.0.005 by Matti on 09-01-2007 at 10:01 AM
quote:Well, I'm actually waiting for the next Messenger Plus! Live to support BrowserControls. Then, I may be able to re-create the Log Viewer and then make those links open the log viewer. Because at the moment, I rely on the command line functions of Log Viewer.exe, which only allow me to open, encrypt, decrypt or change the password of a log file, there is no option to view a log file and scroll to a specific session. RE: [Release] Log Manager - Version 1.0.005 by Eddie on 09-01-2007 at 02:41 PM Cool script good job RE: [Release] Log Manager - Version 1.0.005 by albert on 09-01-2007 at 02:57 PM
Amazing script, amazingly done. RE: [Release] Log Manager - Version 1.0.005 by NanaFreak on 09-02-2007 at 01:42 AM Nice interfaces Mattike ;o RE: RE: [Release] Log Manager - Version 1.0.005 by prashker on 09-02-2007 at 02:48 AM
quote: Mmmk, well keep up the good work . (Picture made with Vista Sniping tool....hot stuff ). RE: [Release] Log Manager - Version 1.0.005 by Matti on 09-02-2007 at 09:16 AM
Well, first of all: thanks for all your comments! It makes me happy to know that those 5 months weren't just for making a script no-one would care about. RE: [Release] Log Manager - Version 1.0.005 by warmth on 09-04-2007 at 07:17 PM
Would be lovely to see a merge feature for next releases (I know that mattike already said I would be )... sometimes you have one html file before activate the encryption or when you select a different folder registry option and one encrypted file in other folde, if it's the case... and you want to merge all the files together in one unique file encrypted... first time I opened the script I though that the "ADD FILE" button was for this... RE: [Release] Log Manager - Version 1.0.005 by Matti on 09-05-2007 at 03:22 PM
quote:I can tell you that those requests are already fully implemented! When you choose 1 .ple and 1 .html file, it'll decrypt the .ple file to a temporary location and will keep the .html as-is. Then, it'll simply read the contents of the decrypted and .html file and do the merging. Also, you will have the ability to directly encrypt the outputted file. The merging process sorts all sessions and writes a .html file in a temporary location. When that's done, it'll check if the user has chosen to encrypt the file. If so, it'll encrypt to the final destination. If not, it'll only copy the file to the destination. However, there are still a lot of things I need to fix, one of them is to read from files in parts. That is, it should read 50 KB at a time, add it to the buffer and continue with the next 50 KB, just until the file pointer reaches the end of the file. At the moment, I have Eljay's ReadFile function which reads the file in one time and that seems to fail for files bigger at ~100 KB. I think I'll need some expert help with this, so if anyone wants to help me with this, please do so if you can! quote:I might want to change this. Formerly, I saw the right panel as a chance for extension of the capabilities, but it seems to have turned out that the browser is lots more important. I'll have a look at it. RE: [Release] Log Manager - Version 1.0.005 by riahc4 on 09-06-2007 at 06:13 PM Add this to your script and it becomes perfect! RE: [Release] Log Manager - Version 1.0.005 by Matti on 09-06-2007 at 06:23 PM
quote:Well, therefore I'd need BrowserControl support to display the log file. And I don't have that yet, not until the next Plus! Liv version comes out with support for it. Then, I might want to re-create the Log Viewer and I add a search function. However, Patchou seems to be working on this too and I don't want to "steal" Plus!' own features. After all, it's a Plus! script! RE: RE: [Release] Log Manager - Version 1.0.005 by warmth on 09-06-2007 at 07:16 PM
quote:Very nice to heard all that... If you need some test help please contact me by PM... I will do my best to help you debugging it... RE: [Release] Log Manager - Version 1.0.005 by Matti on 09-07-2007 at 06:46 PM
UPDATE: This has been done using GDI+ to create a GDI+ Bitmap from an image file (in this case, GIF images) and then create a HBITMAP which I can use in the pop-up menu from the GDI+ Bitmap. I'm currently awaiting matty's response to allow me using his GDI+ global variables and initialize and shut down functions. If he agrees, I'll probably be releasing a new BETA to my testers very soon. And, as requested by warmth, the tree view structure in the Browse window is a bit wider and compared to previous versions, it's the stretchable element now instead of the right panel text. This makes that if you enlarge the window, the tree view will follow, giving you more space to browse through the folders. (Oh yeah, that new icon in the functions bar is the new Log Merge button. Just in case you were wondering what it was. ) RE: [Release] Log Manager - Version 1.0.005 by warmth on 09-07-2007 at 07:57 PM
what more can I say... just beutiful... thanks for listen to me... RE: [Release] Log Manager - Version 1.0.005 by Matti on 09-08-2007 at 09:26 AM
quote:Thanks! quote:Well, actually I'm not the kind of developer who wants his BETA to be spread out by tons of testers. I have some testers who I know I can thrust, and I'm not in serious need for some new testers, although I really appreciate your help and suggestions for the script. Maybe, in a later stage, I'll add you. RE: RE: [Release] Log Manager - Version 1.0.005 by warmth on 09-08-2007 at 09:57 PM
quote:a hopeeeee!!! jajajaja RE: [Release] Log Manager - Version 1.0.005 by prashker on 09-09-2007 at 03:19 AM oooh the pretty colours. I like pictures in buttons RE: [Release] Log Manager - Version 1.1.008 by Matti on 09-15-2007 at 05:28 PM Log Manager has been updated to version 1.1.008! Check the first post to find out more! RE: [Release] Log Manager - Version 1.1.008 by Mizery_Made on 09-16-2007 at 02:57 PM
RE: [Release] Log Manager - Version 1.1.008 by Matti on 09-16-2007 at 05:14 PM
quote:Ah, the beauty of copy-pasting. Already fixed on my side, will be implemented in the next version. RE: [Release] Log Manager - Version 1.1.008 by tominic on 11-08-2007 at 05:44 PM
i LOVE the merge script RE: [Release] Log Manager - Version 1.1.008 by Q8Bond007 on 12-12-2007 at 03:42 PM
Decrypting makes your CPU at very high load(core2 duo e6600@2.8ghz). the last time i tried to decrypt some big logs and my pc stopped working. i had to restart it manually. arround 20-25 Log Viewer.exe was runned RE: [Release] Log Manager - Version 1.1.008 by Matti on 12-12-2007 at 04:08 PM
Normally it shouldn't open so many decryption processes at once, but it should wait until the current one is finished. However, the way of determining this is really tricky because the script can't really determine if the decryption is done or not. I can also understand that decrypting can heat up your CPU, but that's because I don't actually own the control about the decrypting process itself. The script depends on Plus!' Log Viewer.exe, whereas other scripts use only JScript or homemade DLLs which the developer has made himself. RE: [Release] Log Manager - Version 1.1.008 by nila on 01-02-2008 at 02:15 PM
Hiya, RE: [Release] Log Manager - Version 1.1.008 by Matti on 01-02-2008 at 02:53 PM
The merging process is handled by Log Manager itself. Basically, it reads the files, splits them up in their sessions and stores those sessions in an array. Then, the array is sorted by date and then Log Manager writes the new file.
RE: [Release] Log Manager - Version 1.1.008 by nila on 01-02-2008 at 03:20 PM
I decided to try trouble shoot so just did it with two small files to test - same result. RE: [Release] Log Manager - Version 1.1.008 by Matti on 01-02-2008 at 03:41 PM
quote:That's very weird. I'm using the same specs (2 GB RAM - C2D) and merging 2 small HTML log files works flawlessly. You are sure that they are log files, uh? Because merging web pages won't work, I'm afraid. quote:The merging process is all in "_mergeProcess.js". It's a class which handles everything. I wrote it myself, and when you study the code, you'll see that it relies on file change detections for checking if one step is finished. I wish I could get Patchou to write some kind of manager himself, since he wrote the log file encryption thingy himself. At least, I guess that he could do a much better job with his C++ than I can with JScript. RE: [Release] Log Manager - Version 1.1.008 by nila on 01-03-2008 at 12:55 PM
I've tried this with a bunch of files now and its failing with every single one of them. RE: [Release] Log Manager - Version 1.1.008 by Matti on 01-03-2008 at 06:01 PM
That's interesting. This is actually the end phase of the process where it tries to copy the merged file, stored in a temporary location, to the final destination.
RE: [Release] Log Manager - Version 1.1.008 by nila on 01-03-2008 at 09:49 PM
ok - went to 'Local Settings\temp' and tried it and it hung at the same spot and no 'Log Manager' folder appeared during the process. RE: [Release] Log Manager - Version 1.1.008 by Matti on 01-04-2008 at 09:08 AM
Yes, that looks like some sort of error with the files or the file system indeed. Quite odd, because the script was tested on XP and none of my testers reported problems with it. RE: [Release] Log Manager - Version 1.1.008 by kiljaeden on 07-04-2008 at 04:26 PM
Hi, I just dropped by to say I have the exact same problem as nila. I tried out some of the workarounds and it was helpful. This script would have been perfect if it doesn't hang at 83.3%. Still, using the workarounds, it's still very useful. Thanks for the script! RE: [Release] Log Manager - Version 1.1.008 by kiljaeden on 07-04-2008 at 04:29 PM
I found out another thing: in the merged HTML file, any of the non-English characters such as ϋ and ғ don't appear correctly - instead it's just weird boxes or ??? in their places. RE: [Release] Log Manager - Version 1.1.008 by djdannyp on 08-21-2008 at 10:58 AM
Small bug: In the English language file there is still a dutch (?) phrase in there for the script menu. "Logboeken samenvoegen" is included instead of "Merge Logs" RE: [Release] Log Manager - Version 1.1.008 by Vilkku on 10-12-2008 at 08:14 AM
Hooray for old threads. Anyway, after having sorted my logs by month for ages, I am now converting them all to per-contact sorting. As you know, when you sort by month, the log files are all saved according to the e-mail of the contact, and when sorting by contact, the files are named according to month and year. With 200+ contacts and logs going back to 2006 (also got the old, pre-MP!L logs, more on that later), this is still a lengthy process, even using your merger. My suggestion/request/question is, would it be possible to make an automated "sort by month -> sort by e-mail" converter? If there is one already available, could someone point me at the right direction? RE: [Release] Log Manager - Version 1.1.008 by Matti on 10-12-2008 at 08:32 AM
quote:Theoretically, it could be possible, but it'd be very hard. In the old chat logs, long names are cut off which can cause a lot of trouble trying to detect which person wrote which message. There'd also be a problem when trying to convert the standard emoticon codes to images, as the Images folder in each log folder is filled by Plus! itself and you can't rely on having a certain image present in that folder because the file names (e.g. MsgPlus_Img1337.png) doesn't tell you the original code and/or the contact who sent it. And retrieving the smiley image is no option when you have logs dating from a few years ago. As for your first suggestion... I understand you want a tool to convert a structure like this: code:to: code:and vice versa? That's a very good suggestion, but... Unfortunately, I stopped working on this project a long time ago. This was because of the fact that the actual encryption/decryption process was coded in a crappy way which has already caused a lot of trouble to some users. The main problem is that there's no real way for me to be able to keep track of how far the encryption process has progressed, since it completely relies on a single tool delivered by Plus! (the MPTools.exe). Also, the fact that it's a Plus! Live script, it has to share its memory and CPU usage with Messenger and other scripts which makes it lag a lot. It would be great if I could learn how to code real standalone programs in C++ or C# or whatever and make it complete with asynchronous calls and scheduled events, but I simply don't have the skills and equipment for that yet. Log Manager really doesn't have a great advantage being integrated in Messenger, so it'd really be awesome if I could pull this off as a "real" program. But don't get your hopes too high - it may still take a few years until that happens. As for the time being, I'll concentrate on simple Plus! Live scripting and web development... remember: I'm only 16! RE: [Release] Log Manager - Version 1.1.008 by Vilkku on 10-12-2008 at 08:40 AM I understand the limitations of the script, it was mainly a general question/suggestion RE: [Release] Log Manager - Version 1.1.008 by CVonV on 11-19-2008 at 08:04 AM is there a script for merging text log files? RE: RE: [Release] Log Manager - Version 1.1.008 by djdannyp on 11-19-2008 at 09:15 AM
quote: Yes, this script does that RE: [Release] Log Manager - Version 1.1.008 by Matti on 11-19-2008 at 12:31 PM
quote:If you mean log files saved as plain text (*.txt), then no, Log Manager can't do that. This is because merging plain text logs is as simple as pasting everything in one text file... You can do that very easily yourself! RE: [Release] Log Manager - Version 1.1.008 by Niobe on 12-03-2008 at 10:06 PM
Anyone know if exist a similiar script or other software to merge log files... RE: [Release] Log Manager - Version 1.1.008- WARNING by richard20260 on 01-13-2009 at 12:25 AM If it did what it was supposed to do it would be great, however it appears to be a malicious script as it destroys the contents of the chat logs leaving an empty merged file in ALL cases. BE WARNED! RE: Merged Chat Logs by prashker on 01-13-2009 at 12:55 AM
quote:lol, OORRRRRR you did something wrong (or it's not compatible, keep in mind the script is over a year and a while old ) RE: [Release] Log Manager - Version 1.1.008 by matty on 01-13-2009 at 03:31 AM
quote:You have to be kidding me. Malicious... wow you got it all wrong buddy! RE: [Release] Log Manager - Version 1.1.008 by platinummale on 02-11-2009 at 08:19 PM
Hi there RE: [Release] Log Manager - Version 1.1.008 by Niobe on 02-17-2009 at 11:41 AM
quote: No he don't kidding. There is no other name to that script. quote: You are wrong my dear. I try to use this with older version of Windows Live Messenger and Messenger Plus! Live e got the same error. That script just destroys the contents of the chat logs leaving an empty merged file in ALL cases I think that script should be deleted of database because is very dangerours. RE: [Release] Log Manager - Version 1.1.008 by Felu on 03-07-2009 at 08:51 AM
Maaaaattttiiiiiiiiiii RE: [Release] Log Manager - Version 1.1.008 by Matti on 03-07-2009 at 10:23 AM
Alright, that's it. Enough about this. If you want me to help you, then you first will have to help me!
RE: [Release] Log Manager - Version 1.1.008 by JimmyJazz on 03-25-2011 at 07:03 AM
When I try to merge my PLE files, they come out in a big paragraph of text, and it looks to be only 2 months that actually do merge out of all of them. Opening the resulting .html file shows RE: [Release] Log Manager - Version 1.1.008 by Matti on 03-25-2011 at 10:20 AM
First of all, this project is sort of discontinued. I'm not planning any updates in the near future. The main reason is that the way the script interacts with the Log Viewer executable is still unreliable and there's no easy way to make this better with a Plus! script. On another note, it appears that there's a small error in one of the script files. For the time being, I'll have to ask you to do this change manually though. In _mergeProcess.js, find this line: js code:and add the following line beneath it: js code:It probably won't fix some files being skipped but at least the merge process will effectively be able to start. RE: [Release] Log Manager - Version 1.1.008 by JimmyJazz on 03-25-2011 at 01:57 PM
Thanks for the reply and update! code: After merging, only the one month is shown and it looks like this in notepad code: The top line is different. The headers after this one are identical to the original though. Opening the original in wordpad is identical to notepad. But this file produced from the merge operation (the code above) looks different in wordpad. I can't even copy it into this window because it must have invisible characters in it, but this is how it appears by my typing it out: code: I hope that makes sense to you. I don't know if it makes any difference, but my logs have almost the same modify date, because I encrypted them all using another tool found in these forums. RE: [Release] Log Manager - Version 1.1.008 by Matti on 03-25-2011 at 02:32 PM
I see, you're working with log files in text format. This script only works with HTML formatted log files (encrypted or decrypted). Encrypting and decrypting will work just fine but merging works with the actual log contents and needs those contents to be HTML. RE: RE: [Release] Log Manager - Version 1.1.008 by JimmyJazz on 03-25-2011 at 02:44 PM
quote: I totally agree! But unfortunately years of my logs are in text. Is there anything that can transform them to even basic HTML logs? RE: [Release] Log Manager - Version 1.1.008 by CookieRevised on 03-25-2011 at 03:36 PM
quote:No, not automatically. There are way to many variables and unknowns in regards to text logs to make something fully automated. A lot of examples of these unknowns and problems can be seen in this thread. But note that there are also other problems not yet described in that thread too. It is just a massive undertaking to write something which can convert text logs to html files in a reliable way and it will never be a fully automated process anyways (it would always require user interaction to answer some unknowns etc). And then I'm not even talking about language dependant stuff in those logs. RE: [Release] Log Manager - Version 1.1.008 by JimmyJazz on 03-25-2011 at 04:54 PM
Well I guess my best bet then is to find a program to combine text files in a chosen order, so I can at least have them streamlined into 30 files rather than 700! RE: [Release] Log Manager - Version 1.1.008 by hekxc on 04-07-2011 at 02:46 AM
Sorry for the trouble, but I've been having MSN Logging problems for years (multiple logs on multiple accounts as well as different formatting). If you can reply to my query it would be greatly appreciated. RE: [Release] Log Manager - Version 1.1.008 by Matti on 04-07-2011 at 06:04 PM
As stated in a previous post, this project is discontinued. I'll try to help you with your problem, although I can't guarantee that it will be solved. code:or code:The second situation will most likely fail, since the script strips off the extension when building the temporary path for the decrypted log file. (I know, it's not the greatest idea but I'm not planning to update this script any more.) Another possible problem would be that you are merging two files with the exact same name but in different. This will also lead to a naming conflict for the temporary file. You could try to give all files a unique name and see if that fixes your problem. I understand that this is less than ideal but it'll have to do for now. I'll see if I can find some time to polish up the successor of this script... no promises though. You could also try to fix the _mergeProcess.js file yourself. You can find this file in: code:Simply open that script file in any text editor and make the changes as shown in Matti's reply to [Release] Log Manager - Version 1.1.008. That should fix the temporary folder from not properly being created. |