[core] log warning for unrecognized arguments
[core] identify origin of log messages
Merge pull request #2300 from burns/warn_invalid_args

[core] log warning for unrecognized arguments