Setting system options

The timer string format link isn’t getting rendered properly, though I can’t see why. When it’s converted to HTML, it’s generated as an anchor tag with no href property.

Oh, I see the problem. The URL is missing a / at the beginning.

With sudo snap unset system proxy.https?

There’s a new option to set the console log level.


Override the console log level which is a number between 0 and 7.
The configuration will be stored in /etc/sysctl.d/99-snapd.conf and the default value is 4

Available since snapd 2.46.

Example to set the log level to 1:

$ snap set system system.kernel.printk.console-loglevel=1
$ cat /etc/sysctl.d/99-snapd.conf 
kernel.printk = 1 4 1 7

Thanks so much for letting us know, and for the written description. I’ve updated the doc with your details.

Right after the “snap get system” example in the first section, I would add the variation of “snap get -d system”.

1 Like

ping @degville: option swap.size seems to be undocumented :slightly_smiling_face: Relevant forum post: Snap refresh after system time is corrected - #5 by ijohnson


Excellent! Thanks for letting me know. Doc is now updated and I’ll copy this across to the Ubuntu Core docs too.

The link changed to here:

1 Like

Thanks so much for letting us know, and for including the new link!

I think it’s worth mentioning that “snap get system” and “snap get core” are synonymous – I filed a bug for that:

Another note – while the “experimental” system option still exists, it’s moved on considerably from the example(s) presented on this page.

Not sure if those links are accurate or complete, it would be nice to have a list of what are still considered “experimental” system config options.