Add to log


#1

Hi! I would like to add some lines (like cpu temp and ambient temp) to the LOG file I see ONLINE at FlightAware from my piaware.

Is this online version just a copy of /var/log/piaware.log ?

How could I add some custom lines to it?

Thank you


#2

I like you idea, good feature to have!

I am not sure, but I don’t think the online version is just a copy of /var/log/piaware.log
I get this error message when I try to post the code I have used for testing:


Forbidden

You don't have permission to access /posting.php on this server.

Here is base 64 encoded command I used for appending to /var/log/piaware.log


ZWNobyAkKGRhdGUgKyIlYiAlZCAlSDolTTolUyIpICQoaG9zdG5hbWUpICJwaWF3YXJlWzYwNl06IG1sYXQtY2xpZW50KDE4MjMpOiBIZWxsbyBXb3JsZCIgfCBzdWRvIHRlZSAtYSAvdmFyL2xvZy9waWF3YXJlLmxvZyA+PiAvZGV2L251bGw=

It seems to me the data get’s sent to the online version and local separately.