why code in PostLogin is not execute??

I write my custom GameMode, inherit from GameModeBase, override function PostLogin(), i just print some log here. in PIE and Standalone mode, i can see my log, but, when i build a package, then i cann’t see my log! ! what’s the problem here?? because of this, i’m wonder the code in PostLogin is not execute in a package??

How do you print your log? With PrintString in blueprints? If yes, then you make sure, that your shipping build is in development mode. Otherwise you will not see any logs from printstring.