Input.GetAxis firing only once

In my character controller class, I have the following code:

function Update()
{
    shoot1 = Input.GetAxis("Fire1");	    
    shoot2 = Input.GetAxis("Fire2");

    if (shoot1)
    {
        Debug.Log("Primary");	    
    }
    if (shoot2)
    {
        Debug.Log("Secondary");	    
    }
}

The issue I’m facing is, if I left click or right click, I get the message ‘Primary’ or ‘Secondary’ as expected. However, once I have clicked a certain button (say left click), any subsequent clicks of that button won’t give me the debug message.
Am I supposed to flush the values of shoot1 and shoot2 every update cycle or something?

“Fire1” is generally mapped to the left mouse button and is not an axis. To read it in properly, use Input.GetButtonDown.

That, however, isn’t likely the cause of this behaviour. In your console, make sure collapse all (I think…?) isn’t checked. If it is, it groups similar messages together to prevent flooding the log screen.

Unchecking should show them all.