No logging after importing a backup

Today, I was transferring a gateway setup to another location. However, after importing the gateway backup into the new system, the logs would no longer populate.

So, after a bit of panicked hunting I did find the wrapper log in the install folder. In the wrapper file there was this entry:

Configured log file changed from '/usr/local/bin/ignition/logs/wrapper.log' to '/var/log/ignition/wrapper.log'

Of course, since that folder didn't exist on the new server, there was no logging. After a bit more hunting around I got things reconfigured back to where they belong. All good.

But, why this folder? Is this an artifact from the mists of time, where we were able to install ignition from an apt repository (which I still miss, FWIW)?

Yes, artifact.

I always tell the installer to use /usr/share/ignition to minimize these sorts of crises.

Yeah, we use to explode Linux config onto a few different locations.

Linux purists' strongly held opinions aside, it was mostly just a maintenance hassle. More places to teach people (including our support reps) to look, more places for things to be going wrong, and harder to deal with on upgrade/uninstall.