Better application name matching in log file names.

"AppLite ..." will not match when application name is "App".
An extra-spaced `App ` won't match `AppLite`.

The original `App` is a prefix of `AppLite` should match.