WARNING: This page is about a different car, the 2003 Subaru Outback, 2003 Subaru Legacy, and 2003 Subaru Baja. However, it is still accessible from the selected car via links, so may be relevant.
Measure front fog light relay resistance between terminals while connecting terminal No. 4 to battery positive terminal and terminal No. 3 to battery ground terminal.
Fig 1: Measuring Front Fog Light Relay Resistance Between Terminals