[Rel] ConScribe

Post » Wed Mar 09, 2011 11:32 am

Hi ShadeMe,

first off, fantastic tool my friend. It even captures PrintToConsole messages that are in a script that is crashing, so debugging has become a snip!

However, i have a strange problem. All of my messages are getting captured to the log file, but all of my PrintToConsole Messages that start with "Model:" are not showing up in the console; if I exit and look at the log file, they are all there.

Obviously, its not a major calamity since I really need them in the log file, but if you have a chance to look into it, that would be great. (It happens in version 2, 3, and 3a).

thanks again ShadeMe.

a
User avatar
Phoenix Draven
 
Posts: 3443
Joined: Thu Jun 29, 2006 3:50 am

Post » Wed Mar 09, 2011 1:07 am

However, i have a strange problem. All of my messages are getting captured to the log file, but all of my PrintToConsole Messages that start with "Model:" are not showing up in the console; if I exit and look at the log file, they are all there.
Indeed. Do they show up when ConScribe's disabled ?
User avatar
Rozlyn Robinson
 
Posts: 3528
Joined: Wed Jun 21, 2006 1:25 am

Post » Wed Mar 09, 2011 9:47 am

Indeed. Do they show up when ConScribe's disabled ?


Sorry ShadeMe, I meant to include that in my message. Yes, if I disable ConScribe, they will appear in the console, but who would want to disable ConScribe? :)

thanks
a
User avatar
Rebekah Rebekah Nicole
 
Posts: 3477
Joined: Fri Oct 13, 2006 8:47 pm

Post » Wed Mar 09, 2011 1:39 am

Curiouser and curiouser. A quick test revealed no such issues. I haven't a clue why something like that should popup. The dev. build has a few changes to the hook code - Could be why I didn't see the issue, but I highly doubt it.
User avatar
Juan Suarez
 
Posts: 3395
Joined: Sun Nov 25, 2007 4:09 am

Post » Tue Mar 08, 2011 11:04 pm

To add to the confusion:

I just changed all of the places where I Printc "Model:..." to "Mesh:..." and now SOME of them are appearing in the console. I will continue to debug and see if I can find a root cause that might be of assistance.

thanks
a
User avatar
rebecca moody
 
Posts: 3430
Joined: Mon Mar 05, 2007 3:01 pm

Post » Tue Mar 08, 2011 11:26 pm

Hi Conscribe,

Just carrying over the conversation.

Will I need to do anything in my mod to make this happen, or is registering an INI activity for Conscribe?

thanks
a
User avatar
Jessica White
 
Posts: 3419
Joined: Sun Aug 20, 2006 5:03 am

Post » Wed Mar 09, 2011 8:31 am

Will I need to do anything in my mod to make this happen, or is registering an INI activity for Conscribe?
All you'll need to do is call the RegisterLog function with a log name of your choice. You can then use Scribe to print all your messages to the log.

btw, did you manage to fix the Model: issue ?
User avatar
Courtney Foren
 
Posts: 3418
Joined: Sun Mar 11, 2007 6:49 am

Post » Wed Mar 09, 2011 7:00 am

http://www.tesnexus.com/downloads/file.php?id=26510

Version 5.0 is out !


Change Log

5.0 - Some code moved around, modified and rewritten; Changes to the INI; New log functions
4.0 - Decided to have ice cream for dessert
3.0a - Fixed a null pointer crash
3.0 - Replaced Prefix notation with an INI file; Option to use 24 Hour time notation in log names
2.0 - Renamed prefix PerGame to PerSession ; Added new prefix PerSessionEx
1.0 - Initial Release

User avatar
Jordan Moreno
 
Posts: 3462
Joined: Thu May 10, 2007 4:47 pm

Post » Wed Mar 09, 2011 12:39 am

I will just say that I'm very grateful for conscribe. One user used it to be able to give me a log of a CTD caused by RealSleepExtended, and with the conscribe log it was easy to find the cause. It would have been very difficult without :)
User avatar
JaNnatul Naimah
 
Posts: 3455
Joined: Fri Jun 23, 2006 8:33 am

Post » Wed Mar 09, 2011 3:30 am

....
Change Log
5.0 - Some code moved around, modified and rewritten; Changes to the INI; New log functions
4.0 - Decided to have ice cream for dessert
3.0a - Fixed a null pointer crash
3.0 - Replaced Prefix notation with an INI file; Option to use 24 Hour time notation in log names
2.0 - Renamed prefix PerGame to PerSession ; Added new prefix PerSessionEx
1.0 - Initial Release

Ewrrr...what does the bold part refer to? :P

I will just say that I'm very grateful for conscribe. One user used it to be able to give me a log of a CTD caused by RealSleepExtended, and with the conscribe log it was easy to find the cause. It would have been very difficult without :)
Ditto, I mostly use PrintC now instead of Pluggy's log function during mod developement and with ConScribe I can review it with incredible ease. :wub:
User avatar
Saul C
 
Posts: 3405
Joined: Wed Oct 17, 2007 12:41 pm

Post » Wed Mar 09, 2011 4:38 am

Ewrrr...what does the bold part refer to? :P
http://healthycookingcoach.typepad.com/.a/6a00e552ad01da88340120a4eb85f4970b-320wi http://healthycookingcoach.typepad.com/.a/6a00e552ad01da88340120a4eb85f4970b-320wi
User avatar
T. tacks Rims
 
Posts: 3447
Joined: Wed Oct 10, 2007 10:35 am

Post » Wed Mar 09, 2011 1:26 am

5.0 - Some code moved around, modified and rewritten; Changes to the INI; New log functions

Ahh, so you were jumping the gun a bit in the Pluggy thread - this makes more sense now. Should be much easier to use here than Pluggy (no StringIDs required). By the way, I see you're using formatString - are there plans to use Expressions? (As in, I haven't had a chance to really look yet - is it possible/easy to use Expressions in your own mod?)
User avatar
Chad Holloway
 
Posts: 3388
Joined: Wed Nov 21, 2007 5:21 am

Post » Tue Mar 08, 2011 11:38 pm

Ewrrr...what does the bold part refer to? :P

That he's confusing the changelog with his twitter account?
User avatar
Len swann
 
Posts: 3466
Joined: Mon Jun 18, 2007 5:02 pm

Post » Wed Mar 09, 2011 1:18 pm

Ahh, so you were jumping the gun a bit in the Pluggy thread - this makes more sense now.
It does ? :o

Actually, I've been waiting all the while for scruggsy to assign me a opcode range. The functions were added a looong time ago.

Should be much easier to use here than Pluggy (no StringIDs required). By the way, I see you're using formatString - are there plans to use Expressions? (As in, I haven't had a chance to really look yet - is it possible/easy to use Expressions in your own mod?)
I was considering using expressions at first, but settled for format strings in the end. I haven't looked into the code either, but I *think* you could use expressions in custom commands by using a parser that supports script tokens ( let's should do ). I'll ask scruggsy anyway.
User avatar
bimsy
 
Posts: 3541
Joined: Wed Oct 11, 2006 3:04 pm

Post » Tue Mar 08, 2011 10:09 pm

I think I found a bug with the sScribeMode setting. Currently ConScribe doesn't make seperate logs per session, instead it dumps everything into the Static Log.log. I already tried deleting my ini to generate a new one and then changing the setting.

Here's my ConScribe.ini and the Data\ConScribe.log

Woops, nevermind. It seems somehow I thought I deleted the ini but I'm guessing this was only in my head. After trying it again while I was typing this I discovered my memory-error. :facepalm:

Anyhow, in order to not waste this precious post I had a question about the logging functions. I noticed that there's a iLogBackups setting for the PerMod and PerScript logs, would it be possible to not use backups at all and just add the output to the current log, maybe with a timestamp seperator right after a game load/restart? Or does the Static ScribeMode also apply to to those logs? :unsure:

-kyoma
User avatar
Monika Krzyzak
 
Posts: 3471
Joined: Fri Oct 13, 2006 11:29 pm

Post » Wed Mar 09, 2011 1:35 am

Anyhow, in order to not waste this precious post I had a question about the logging functions. I noticed that there's a iLogBackups setting for the PerMod and PerScript logs, would it be possible to not use backups at all and just add the output to the current log, maybe with a timestamp seperator right after a game load/restart?

Or does the Static ScribeMode also apply to to those logs? :unsure:
Scribe modes only apply to the console logs. Adding an appending mode to the other logs is possible. I'll see if I can get it done soon.

PS -> This :unsure: seems to have absolved your sins of spamming :P
User avatar
CHangohh BOyy
 
Posts: 3462
Joined: Mon Aug 20, 2007 12:12 pm

Post » Wed Mar 09, 2011 12:41 pm

http://www.tesnexus.com/downloads/file.php?id=26510
Version 6.0 is out !


Change Log

6.0 - Added append mode to scribed logs
5.0 - Some code moved around, modified and rewritten; Changes to the INI; New log functions
4.0 - Decided to have ice cream for dessert
3.0a - Fixed a null pointer crash
3.0 - Replaced Prefix notation with an INI file; Option to use 24 Hour time notation in log names
2.0 - Renamed prefix PerGame to PerSession ; Added new prefix PerSessionEx
1.0 - Initial Release

User avatar
REVLUTIN
 
Posts: 3498
Joined: Tue Dec 26, 2006 8:44 pm

Post » Wed Mar 09, 2011 12:09 pm

I installed this earlier today to log some error spam I was getting and having looked at what it does, I doubt this is ever going to get removed.

Great tool! Thankyou! :foodndrink:

Vac
User avatar
Chloe Botham
 
Posts: 3537
Joined: Wed Aug 30, 2006 12:11 am

Post » Wed Mar 09, 2011 5:43 am

I :bowdown: to you for this tool! Agreed with Vacuity, this is never leaving my Oblivion folder.

Just wondering, what does static logging mean?
User avatar
Tyler F
 
Posts: 3420
Joined: Mon Aug 27, 2007 8:07 pm

Post » Wed Mar 09, 2011 7:28 am

Just wanted to add to the praise. I added shadeMe to Map Marker Overhaul's credit due to this excellent tool. I will not even try to imagine how hard it would have been to debug the export/import of long arrays without ConScribe. And it is has been just as useful in debugging Enhanced Economy.
User avatar
bimsy
 
Posts: 3541
Joined: Wed Oct 11, 2006 3:04 pm

Post » Wed Mar 09, 2011 6:27 am

Just want to sya I find this mod invaluble.
I've fixed a bunch of problem by looking at the logs.
I am currently using v5 and I just dl'd v6.
I haven't read the readme yet, so if what I am about to ask for is there, Wooo Hooo!!

Otherwise, in a future release, it would be nice to be able to turn on \ off multiple logging.
By that I mean Static Log.log0, Static Log.log1, Static Log.log2, etc.

Thanks for your effort and I will be endorsing this on Nexus when the time limit expires.
User avatar
Bad News Rogers
 
Posts: 3356
Joined: Fri Sep 08, 2006 8:37 am

Post » Wed Mar 09, 2011 12:04 am

That's trivial to add. I'll put it on the scroll.

Might as well post an update: v7 will allow mods to -
  • Register and use multiple logs
  • Read from registered logs
Shoot if you've got any requests.
I :bowdown: to you for this tool! Agreed with Vacuity, this is never leaving my Oblivion folder.

Just wondering, what does static logging mean?
Fancy name, eh ? It basically means that the console output is logged to a single file ( the Static Log.log file ) all the time.
User avatar
Ross Thomas
 
Posts: 3371
Joined: Sat Jul 21, 2007 12:06 am

Post » Wed Mar 09, 2011 10:42 am

http://www.tesnexus.com/downloads/file.php?id=26510
Version 7.0 is out !


Change Log

7.0 ?
  • The static log is also backed up now
  • Support for multiple logs
  • Ability to read from logs
  • Can optionally delete logs while unregistering them
  • Changed the INI format (for the last time ? hopefully)
  • Fixed a potential bug in the plugin load callback.
  • Fixed a bug that kept script logs from being appended with headers
6.0 - Added append mode to scribed logs
5.0 - Some code moved around, modified and rewritten; Changes to the INI; New log functions
4.0 - Decided to have ice cream for dessert
3.0a - Fixed a null pointer crash
3.0 - Replaced Prefix notation with an INI file; Option to use 24 Hour time notation in log names
2.0 - Renamed prefix PerGame to PerSession ; Added new prefix PerSessionEx
1.0 - Initial Release

User avatar
mollypop
 
Posts: 3420
Joined: Fri Jan 05, 2007 1:47 am

Post » Wed Mar 09, 2011 2:25 am

I definitely seem to have picked the wrong TOD to release this update.
User avatar
D IV
 
Posts: 3406
Joined: Fri Nov 24, 2006 1:32 am

Post » Tue Mar 08, 2011 9:37 pm

Have no fear, for I am here (to thank you for this update)!

ConScribe has certainly been very useful to me as a debugging tool, so thanks for it, and your continued work on it. :)
User avatar
willow
 
Posts: 3414
Joined: Wed Jul 26, 2006 9:43 pm

PreviousNext

Return to IV - Oblivion