Board index FlightGear Support Interfacing

function logging - flightgear  Topic is solved

Connecting two computers, using generic protocol, connecting with Matlab?

function logging - flightgear

Postby anton Dang » Thu Jun 24, 2021 8:13 pm

Hi all,

I'm trying to use the logging function in the debug menu but something went wrong, the application closes after pressing the button "ok"!

Image
Image

help me, please!
Last edited by Gijs on Fri Jun 25, 2021 9:16 am, edited 1 time in total.
Reason: Fix image links: you need to use direct links to the images, rather than to the ImgBB service. ImgBB provides copy&paste BBCode embeddable codes at the bottom of its pages
anton Dang
 
Posts: 4
Joined: Thu Jun 24, 2021 4:06 pm

Re: function logging - flightgear  

Postby Gijs » Fri Jun 25, 2021 9:13 am

Hi and welcome Anton!

In order to help you, we require some more information. Can you please Pastebin your log file, so we can see if there are any errors related to the issue? See this wiki section on how to find your log file. Note that this is not the .csv log file that you're trying to create, but a generic log of FlightGear's functioning and possible errors.

Gijs
Airports: EHAM, EHLE, KSFO
Aircraft: 747-400
User avatar
Gijs
Moderator
 
Posts: 9544
Joined: Tue Jul 03, 2007 3:55 pm
Location: Delft, the Netherlands
Callsign: PH-GYS
Version: Git
OS: Windows 10

Re: function logging - flightgear

Postby anton Dang » Fri Jun 25, 2021 3:56 pm

Thank you so much for your answer! here is my fgfs.log file!
https://pastebin.com/xv8X872F
Thanks again!
anton Dang
 
Posts: 4
Joined: Thu Jun 24, 2021 4:06 pm

Re: function logging - flightgear

Postby wkitty42 » Fri Jun 25, 2021 4:37 pm

why FG totally shut down, i don't know but here is your problem...
Code: Select all
539.41 [ALRT]:general C:\Jenkins\workspace\Windows-release\flightgear\src\Main\logger.cxx:69: The FGLogger logging system, via the '/logging/log/filename' property, was asked to write to 'fg_log.csv', however this path is not authorized for writing anymore for security reasons. Please choose another location, for instance in the $FG_HOME/Export folder (C:/Users/dang/AppData/Roaming/flightgear.org/Export).

so you need to export the log file to a location that FG can actually write to...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9146
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: function logging - flightgear

Postby anton Dang » Sat Jun 26, 2021 10:41 am

thank you all for report, problem solved!
anton Dang
 
Posts: 4
Joined: Thu Jun 24, 2021 4:06 pm


Return to Interfacing

Who is online

Users browsing this forum: No registered users and 3 guests