Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2017-05-10 09:12:28

billwatson
Member
Registered: 2017-05-10
Posts: 9

Where is the /rex folder?

G'day Boffins,

I'm trying to access a text log file and I can't seem to find the directory that this would be in on the Pi.
The readme I'm using says it would be in the /rex/data folder on Linux.  I can't seem to find anything rex related except the rex-install-pi folder.

any ideas?


Kind regards,

Bill Watson

Offline

#2 2017-05-10 09:38:36

billwatson
Member
Registered: 2017-05-10
Posts: 9

Re: Where is the /rex folder?

Gah!  found it. it's not in the home directory, i.e. /home/rex/data,  it's just /rex/data.


Kind regards,

Bill Watson

Offline

#3 2017-05-10 12:04:18

tomáš čechura
Administrator
Registered: 2016-02-22
Posts: 371

Re: Where is the /rex folder?

Hello Bill,

EDIT: first, I didn't realised that we are talking about "Logging to text file" example. So yes, the text log file generated by this example is located in "/rex/data" folder.

My prior answer is related to the REX Core System log:
System log file can be configured by modifying configuration options in the "/rex/rexcore/rexcore.cfg" file - see REX Core User Guide:
https://www.rexcontrols.com/media/2.50. … pdf#page=5
Focus on "log.file.enabled" and "log.file" options in order to enable/disable System log file and set the System log file location (relative to REX root folder - /rex/).

I hope the above is useful to you. If you require any further information, let me know.

Regards, Tomas

Offline

#4 2017-05-15 02:59:35

billwatson
Member
Registered: 2017-05-10
Posts: 9

Re: Where is the /rex folder?

Oh great! Thanks for the information on the configuration file.  That will definitely come in handy.


Kind regards,

Bill Watson

Offline

Board footer

Powered by FluxBB