The handling of ":" and the final " " after the ":" is inconsistent across the use cases.

SecurityLogger.ROOT_LOGGER.enterYourPassword() has no trailing ":" so L101 above will produce the desired output.

SecurityLogger.ROOT_LOGGER.enterKeyStorePassword() does have a trailing ":" so L101 will result in ":: " at the end.

Neither enterYourPasswordAgain() nor enterKeyStorePasswordAgain() have a trailing space (the deprecated "passwordAgain()" did) so L102 will produce no trailing space.