it seems it is not an appropriate logging level  warning is for end users to get their attention  it must be printed if they asked to do something stupid or something that will stop work soon  in your case  it is a usual code  i would prefer to see here  info  level instead 