How to monitor the contents of BFront2.log in real-time!

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Resistance Leader
User avatar
Posts: 5187
Joined: Tue Feb 09, 2010 8:43 pm
Location: Edinburgh, UK
Projects :: EVERYWHERE + Zero Munge + TCW
Games I'm Playing :: Hollow Knight
xbox live or psn: Marth8880

How to monitor the contents of BFront2.log in real-time!

Postby Marth8880 » Thu Jul 14, 2016 3:22 pm

So lately I've been wondering if there was a way to view the contents of the debug log in real-time, similar to how modern game engine output logs are, and it turns out there is!

First off, by "real-time", I mean "playing the game in the debugger on one monitor while simultaneously seeing the contents of BFront2.log being updated". With that said, only those who have two or more monitors are going to find this to be very useful, but still!

Anywho, so the way you can do this is by downloading this tiny (and free) little program called Tail. It's literally just a standalone exe file that you can run from any folder (not that the directory from which you run it matters). So all you do is run the program, and once inside, browse to BFront2.log, and it'll open it and start updating it as the debugger writes to it!

What's even better is there's a feature (which I haven't tried yet) that allows you to set certain keywords that the program will highlight in the log – such as, say for example, "Message Severity: 3" or "Memory pool". What's more is there's a "Tally Window" (as the program calls it) that you can open that displays every single matched keyword, including the number of matches and the last match. Again, I haven't actually tried this feature out yet, but it sure sounds useful!

So yeah! Go ahead and give this nifty little program a shot! Once I get more of a chance to use it and play with it, I'll probably go ahead and upload a video of it in action while utilizing the keywords feature and everything.

*productivity intensifies*

http://tailforwin32.sourceforge.net/


EDIT:

There's a much better tool for this, called "glogg". Download it HERE!

Hidden/Spoiler:
Image

Image

Image

Image
Last edited by Marth8880 on Sun Apr 29, 2018 2:56 pm, edited 1 time in total.

Sith
User avatar
Posts: 1447
Joined: Thu Jan 23, 2014 6:01 am
Location: Right behind you :)
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#

Re: How to monitor the contents of BFront2.log in real-time!

Postby thelegend » Thu Jul 14, 2016 3:35 pm

This sounds very useful. I no longer can use two monitors at once...well...wait a moment. Are two monitors really required? The debugger of BF2 has a minimized window already. So if the monitor is large enough it should also be possible to work with this method by only using one monitor?

Resistance Leader
User avatar
Posts: 5187
Joined: Tue Feb 09, 2010 8:43 pm
Location: Edinburgh, UK
Projects :: EVERYWHERE + Zero Munge + TCW
Games I'm Playing :: Hollow Knight
xbox live or psn: Marth8880

Re: How to monitor the contents of BFront2.log in real-time!

Postby Marth8880 » Thu Jul 14, 2016 3:37 pm

thelegend wrote:Are two monitors really required? The debugger of BF2 has a minimized window already. So if the monitor is large enough it should also be possible to work with this method by only using one monitor?

I mean technically no, two monitors aren't required, but it's undoubtedly much more convenient if you do have two (or more). With that said, yes, if you're willing to have the actual debugger run at a small enough resolution that you can also see at least a good portion of the bottom of the log, then sure, that'd definitely work.

Sith
User avatar
Posts: 1447
Joined: Thu Jan 23, 2014 6:01 am
Location: Right behind you :)
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#

Re: How to monitor the contents of BFront2.log in real-time!

Postby thelegend » Thu Jul 14, 2016 3:40 pm

Yeah it does. I am just testing it and it looks pretty interesting to see how it's being updated while playing. Thanks for the tip.

First Lance Corporal
User avatar
Posts: 123
Joined: Sun Jul 05, 2015 5:07 pm
Location: California, USA
Projects :: BF2 Refresh Mod
Games I'm Playing :: Empire at War
xbox live or psn: VaporousFern310

Re: How to monitor the contents of BFront2.log in real-time!

Postby Samee3 » Thu Jul 14, 2016 3:46 pm

Now this is a mighty useful program! Just tried it out; the keywords feature works like a charm.

Great find Marth!

Resistance Leader
User avatar
Posts: 5187
Joined: Tue Feb 09, 2010 8:43 pm
Location: Edinburgh, UK
Projects :: EVERYWHERE + Zero Munge + TCW
Games I'm Playing :: Hollow Knight
xbox live or psn: Marth8880

Re: How to monitor the contents of BFront2.log in real-time!

Postby Marth8880 » Sun Apr 29, 2018 2:57 pm

UPDATE: There's actually a much better tool for this, called "glogg". Download it HERE!

Hidden/Spoiler:
Image

Image

Image

Image


(I've updated the original post with this information as well)

Return to SWBF2 Modding

Who is online

Users browsing this forum: No registered users and 1 guest