Optionally log stack with loader