SITL flight log shortcut not being created

Problem

I occasionally notice that the “logs” shortcut that usually exists under “build/px4_sitl_default/” doesn’t exist. And since I guess not a lot of users know that the logs always do get written in “build/px4_sitl_default/rootfs/log/” folder, having this shortcut removed can be annoying for them.

Here in the target’s build folder, no ‘logs’ folder shortcut is found :wink:

However I can’t figure out why the ‘logs’ folder disappeared. If I could figure out where the ‘logs’ shortcut gets created, we could figure out what the core issue is :wink: