Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#487 closed enhancement (fixed)

[Feature Request] saveinithistory: Logging whole OSCam startup?

Reported by: MailMan Owned by:
Priority: major Component: General
Severity: low Keywords:
Cc: Sensitive: no

Description

Is it also possible to save the whole OSCam startup log, e.g. into /tmp/.oscam/startup?

With disabled log it would be still very nice to see the whole startup procedure of OSCam, e.g. until all cards has been initialized.

Change History (7)

comment:1 by alno, 14 years ago

but if you decide for "no log" it's a bit strange if then "a bit" log is written?! By the way - the /.oscam/ files are not forseen for external usage - just for oscam itself

in reply to:  1 comment:2 by MailMan, 14 years ago

Replying to alno:

but if you decide for "no log" it's a bit strange if then "a bit" log is written?! By the way - the /.oscam/ files are not forseen for external usage - just for oscam itself

Then put a "bootlog=<PATH>"-parameter into the config, if possible.
I'm sure that it only costs a few bytes, even at 10 Readers/Cards ;)

comment:3 by alno, 14 years ago

Think you havn't understand the reason outsourcing the entitlements to FS. It's done to save memory consumption. Each fork of oscam (process) reserves the space for the large entitlement variable although it's only needed for the reader processes of physical readers (cards). The files in /tmp/.oscam/ are not forseen for usage from other tools/scripts then oscam itselve. These are no logfiles! We change 64k per process (which is a lot) with 64k per physical/real card

comment:4 by alno, 14 years ago

Type: taskenhancement

in reply to:  3 comment:5 by MailMan, 14 years ago

Replying to alno:

...The files in /tmp/.oscam/ are not forseen for usage from other tools/scripts then oscam itselve. These are no logfiles! We change 64k per process (which is a lot) with 64k per physical/real card

I've understood, but all that I need is exactly a logfile.
Sorry, if I posted the wrong tracking type.

comment:6 by Deas, 14 years ago

Resolution: fixed
Status: newclosed

added with r2108

comment:7 by Deas, 14 years ago

sorry - r2105 was the change...

Note: See TracTickets for help on using tickets.